mirror of
https://github.com/markqvist/Reticulum.git
synced 2026-08-31 16:40:45 +00:00
Fixed invalid interface basis for extra link proof timeout calculation, thanks to Zenith
This commit is contained in:
parent
6738db5437
commit
49073fcca5
1 changed files with 1 additions and 1 deletions
|
|
@ -1827,7 +1827,7 @@ class Transport:
|
|||
|
||||
if packet.packet_type == RNS.Packet.LINKREQUEST:
|
||||
now = time.time()
|
||||
proof_timeout = Transport.extra_link_proof_timeout(packet.receiving_interface)
|
||||
proof_timeout = Transport.extra_link_proof_timeout(outbound_interface)
|
||||
proof_timeout += now + RNS.Link.ESTABLISHMENT_TIMEOUT_PER_HOP * max(1, remaining_hops)
|
||||
|
||||
path_mtu = RNS.Link.mtu_from_lr_packet(packet)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue