Work on tunnels
This commit is contained in:
parent
4a2925cdea
commit
c1e280d896
@ -982,7 +982,7 @@ class Transport:
|
|||||||
announces = []
|
announces = []
|
||||||
tunnel_entry = [tunnel_id, interface, announces]
|
tunnel_entry = [tunnel_id, interface, announces]
|
||||||
interface.tunnel_id = tunnel_id
|
interface.tunnel_id = tunnel_id
|
||||||
Transport.tunnels.append(tunnel_entry)
|
Transport.tunnels[tunnel_id] = tunnel_entry
|
||||||
else:
|
else:
|
||||||
RNS.log("Tunnel endpoint "+RNS.prettyhexrep(tunnel_id)+" reappeared. Restoring paths...", RNS.LOG_DEBUG)
|
RNS.log("Tunnel endpoint "+RNS.prettyhexrep(tunnel_id)+" reappeared. Restoring paths...", RNS.LOG_DEBUG)
|
||||||
tunnel_entry = Transport.tunnels[tunnel_id]
|
tunnel_entry = Transport.tunnels[tunnel_id]
|
||||||
|
Loading…
Reference in New Issue
Block a user