From 1cb9df109a42defe2db0ebe1e88a4e0ccb606b12 Mon Sep 17 00:00:00 2001 From: Mark Qvist Date: Sat, 18 Sep 2021 19:12:09 +0200 Subject: [PATCH] Work on tunnels --- RNS/Transport.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/RNS/Transport.py b/RNS/Transport.py index 380bca2..fb30835 100755 --- a/RNS/Transport.py +++ b/RNS/Transport.py @@ -788,10 +788,10 @@ class Transport: # If the receiving interface is a tunnel, we add the # announce to the tunnels table if hasattr(packet.receiving_interface, "tunnel_id") and packet.receiving_interface.tunnel_id != None: - tunnel_entry = Transport.tunnels[packet.receiving_interface.tunnel_id] - paths = tunnel_entry[2] - paths[packet.destination_hash] = destination_table_entry RNS.log("Path to "+RNS.prettyhexrep(packet.destination_hash)+" associated with tunnel "+RNS.prettyhexrep(packet.receiving_interface.tunnel_id), RNS.LOG_VERBOSE) + tunnel_entry = Transport.tunnels[packet.receiving_interface.tunnel_id] + #paths = tunnel_entry[2] + #paths[packet.destination_hash] = destination_table_entry # Call externally registered callbacks from apps # wanting to know when an announce arrives