mirror of
https://github.com/markqvist/Reticulum.git
synced 2026-07-27 18:18:10 -07:00
Added ability to query physical layer stats on links
This commit is contained in:
+1
-1
@@ -371,7 +371,7 @@ class PacketReceipt:
|
||||
if packet.destination.type == RNS.Destination.LINK:
|
||||
self.timeout = packet.destination.rtt * packet.destination.traffic_timeout_factor
|
||||
else:
|
||||
self.timeout = RNS.Reticulum.get_instance().get_first_hop_timeout(destination.hash)
|
||||
self.timeout = RNS.Reticulum.get_instance().get_first_hop_timeout(self.destination.hash)
|
||||
self.timeout += Packet.TIMEOUT_PER_HOP * RNS.Transport.hops_to(self.destination.hash)
|
||||
|
||||
def get_status(self):
|
||||
|
||||
Reference in New Issue
Block a user