Work on tunnels

pull/10/head
Mark Qvist 2021-09-18 18:54:57 +02:00
rodzic 4a2925cdea
commit c1e280d896
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -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]