mirror of
https://github.com/markqvist/Reticulum
synced 2026-11-27 13:52:15 +00:00
Added path expiry check to tunnel restoration
This commit is contained in:
1 parent
95f81cab7f
commit
4ca00c6973
1 file changed
+1
-1
+1
-1
@@ -1115,7 +1115,7 @@ class Transport:
|
||||
else:
|
||||
RNS.log("Did not restore path to "+RNS.prettyhexrep(packet.destination_hash)+" because a newer path with fewer hops exist", RNS.LOG_DEBUG)
|
||||
else:
|
||||
if time.time() < expires
|
||||
if time.time() < expires:
|
||||
should_add = True
|
||||
else:
|
||||
RNS.log("Did not restore path to "+RNS.prettyhexrep(packet.destination_hash)+" because it has expired", RNS.LOG_DEBUG)
|
||||
|
||||
Reference in new issue
Block a user