Fixed invalid interface basis for extra link proof timeout calculation, thanks to Zenith

This commit is contained in:
Mark Qvist 2026-08-19 20:13:32 +02:00
parent 6738db5437
commit 49073fcca5
No known key found for this signature in database

View file

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