From c357f7a94e39b883e1633d3de8d4e404ccafa55a Mon Sep 17 00:00:00 2001 From: Mark Qvist Date: Wed, 23 Feb 2022 21:39:29 +0100 Subject: [PATCH] Work on I2P Interface --- RNS/Interfaces/I2PInterface.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/RNS/Interfaces/I2PInterface.py b/RNS/Interfaces/I2PInterface.py index f1c8f85..6a8c533 100644 --- a/RNS/Interfaces/I2PInterface.py +++ b/RNS/Interfaces/I2PInterface.py @@ -363,6 +363,8 @@ class I2PInterfacePeer(Interface): while True: data_in = self.socket.recv(4096) if len(data_in) > 0: + # TODO: Remove + RNS.log("Read "+str(len(data_in))) pointer = 0 while pointer < len(data_in): byte = data_in[pointer] @@ -508,6 +510,7 @@ class I2PInterface(Interface): for peer_addr in peers: interface_name = peer_addr peer_interface = I2PInterfacePeer(self, interface_name, peer_addr) + RNS.Transport.interfaces.append(peer_interface) self.online = True