From 95d3346da6f2b731d2b6014d7049e2d8311932a6 Mon Sep 17 00:00:00 2001 From: Mark Qvist Date: Sat, 26 Feb 2022 21:37:50 +0100 Subject: [PATCH] Fixed I2P interface missing attribute --- RNS/Interfaces/I2PInterface.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/RNS/Interfaces/I2PInterface.py b/RNS/Interfaces/I2PInterface.py index e1fdf37..7e60853 100644 --- a/RNS/Interfaces/I2PInterface.py +++ b/RNS/Interfaces/I2PInterface.py @@ -187,6 +187,7 @@ class I2PInterfacePeer(Interface): self.i2p_tunneled = True self.i2p_dest = None self.i2p_tunnel_ready = False + self.mode = RNS.Interfaces.Interface.Interface.MODE_FULL if max_reconnect_tries == None: self.max_reconnect_tries = I2PInterfacePeer.RECONNECT_MAX_TRIES @@ -509,6 +510,7 @@ class I2PInterface(Interface): self.owner = owner self.connectable = connectable self.i2p_tunneled = True + self.mode = RNS.Interfaces.Interface.Interface.MODE_FULL self.b32 = None self.i2p = I2PController(rns_storagepath)