From 4b3ead3db20382002b6a3c1c592e2756a61cf6f7 Mon Sep 17 00:00:00 2001 From: Mark Qvist Date: Wed, 23 Feb 2022 21:29:18 +0100 Subject: [PATCH] Work on I2P Interface --- RNS/Interfaces/I2PInterface.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/RNS/Interfaces/I2PInterface.py b/RNS/Interfaces/I2PInterface.py index 89cc307..f1c8f85 100644 --- a/RNS/Interfaces/I2PInterface.py +++ b/RNS/Interfaces/I2PInterface.py @@ -81,7 +81,6 @@ class I2PController: RNS.log("Bringing up I2P tunnel to "+str(owner)+" in background, this may take a while...", RNS.LOG_INFO) tunnel = self.i2plib.ClientTunnel(i2p_destination, owner.local_addr, sam_address=self.sam_address) await tunnel.run() - tunnel.aclose() RNS.log(str(owner)+ " tunnel setup complete", RNS.LOG_VERBOSE) asyncio.run_coroutine_threadsafe(tunnel_up(), self.loop) @@ -118,7 +117,6 @@ class I2PController: RNS.log(str(owner)+" Bringing up I2P tunnel in background, this may take a while...", RNS.LOG_INFO) tunnel = self.i2plib.ServerTunnel((owner.bind_ip, owner.bind_port), loop=self.loop, destination=i2p_dest, sam_address=self.sam_address) await tunnel.run() - tunnel.aclose() RNS.log(str(owner)+ " tunnel setup complete, instance reachable at: "+str(i2p_dest.base32)+".b32.i2p", RNS.LOG_VERBOSE) asyncio.run_coroutine_threadsafe(tunnel_up(), self.loop)