From b8105e23ff6eeb89bf56a7b4a10884e062fd896d Mon Sep 17 00:00:00 2001 From: Mark Qvist Date: Fri, 25 Feb 2022 22:10:55 +0100 Subject: [PATCH] Fixed TCP interface mode reference --- RNS/Interfaces/TCPInterface.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/RNS/Interfaces/TCPInterface.py b/RNS/Interfaces/TCPInterface.py index c15d083..20a3eed 100644 --- a/RNS/Interfaces/TCPInterface.py +++ b/RNS/Interfaces/TCPInterface.py @@ -69,7 +69,8 @@ class TCPClientInterface(Interface): self.detached = False self.kiss_framing = kiss_framing self.i2p_tunneled = i2p_tunneled - + self.mode = RNS.Interfaces.Interface.Interface.MODE_FULL + if max_reconnect_tries == None: self.max_reconnect_tries = TCPClientInterface.RECONNECT_MAX_TRIES else: @@ -385,6 +386,7 @@ class TCPServerInterface(Interface): self.name = name self.i2p_tunneled = i2p_tunneled + self.mode = RNS.Interfaces.Interface.Interface.MODE_FULL if device != None: bindip = TCPServerInterface.get_address_for_if(device)