mirror of
https://github.com/markqvist/Reticulum.git
synced 2024-11-22 21:50:18 +00:00
Fixed TCP interface mode reference
This commit is contained in:
parent
f378d09cbe
commit
b8105e23ff
@ -69,7 +69,8 @@ class TCPClientInterface(Interface):
|
|||||||
self.detached = False
|
self.detached = False
|
||||||
self.kiss_framing = kiss_framing
|
self.kiss_framing = kiss_framing
|
||||||
self.i2p_tunneled = i2p_tunneled
|
self.i2p_tunneled = i2p_tunneled
|
||||||
|
self.mode = RNS.Interfaces.Interface.Interface.MODE_FULL
|
||||||
|
|
||||||
if max_reconnect_tries == None:
|
if max_reconnect_tries == None:
|
||||||
self.max_reconnect_tries = TCPClientInterface.RECONNECT_MAX_TRIES
|
self.max_reconnect_tries = TCPClientInterface.RECONNECT_MAX_TRIES
|
||||||
else:
|
else:
|
||||||
@ -385,6 +386,7 @@ class TCPServerInterface(Interface):
|
|||||||
self.name = name
|
self.name = name
|
||||||
|
|
||||||
self.i2p_tunneled = i2p_tunneled
|
self.i2p_tunneled = i2p_tunneled
|
||||||
|
self.mode = RNS.Interfaces.Interface.Interface.MODE_FULL
|
||||||
|
|
||||||
if device != None:
|
if device != None:
|
||||||
bindip = TCPServerInterface.get_address_for_if(device)
|
bindip = TCPServerInterface.get_address_for_if(device)
|
||||||
|
Loading…
Reference in New Issue
Block a user