Work on tunnels

This commit is contained in:
Mark Qvist 2021-09-18 18:54:57 +02:00
parent 4a2925cdea
commit c1e280d896
1 changed files with 1 additions and 1 deletions

View File

@ -982,7 +982,7 @@ class Transport:
announces = []
tunnel_entry = [tunnel_id, interface, announces]
interface.tunnel_id = tunnel_id
Transport.tunnels.append(tunnel_entry)
Transport.tunnels[tunnel_id] = tunnel_entry
else:
RNS.log("Tunnel endpoint "+RNS.prettyhexrep(tunnel_id)+" reappeared. Restoring paths...", RNS.LOG_DEBUG)
tunnel_entry = Transport.tunnels[tunnel_id]