From bde5611a0d6651e5c9e6357d7259770fdb4ff7d0 Mon Sep 17 00:00:00 2001 From: Mark Qvist Date: Wed, 19 Aug 2026 20:15:17 +0200 Subject: [PATCH] Fixed missing interface.bitrate validation in extra link proof timeout calculation, thanks to Zenith --- RNS/Transport.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RNS/Transport.py b/RNS/Transport.py index e7e9a06e..d168d6be 100755 --- a/RNS/Transport.py +++ b/RNS/Transport.py @@ -2963,7 +2963,7 @@ class Transport: @staticmethod def extra_link_proof_timeout(interface): - if interface != None: return ((1/interface.bitrate)*8)*RNS.Reticulum.MTU + if interface != None and interface.bitrate: return ((1/interface.bitrate)*8)*RNS.Reticulum.MTU else: return 0 @staticmethod