This commit is contained in:
SpudGunMan committed 2025-10-21 14:24:24 -07:00
1 parent d4fd484706
commit cd03cc56b4
2 files changed
+6

No files matched your search

+3
View File
@@ -1598,6 +1598,9 @@ def onReceive(packet, interface):
else:
hop_count = hop_away
if hop == "" and hop_count > 0:
hop = f"{hop_count} Hop" if hop_count == 1 else f"{hop_count} Hops"
if hop_away == 0 and hop_limit == 0 and hop_start == 0:
hop = "Last Hop"
+3
View File
@@ -345,6 +345,9 @@ def onReceive(packet, interface):
else:
hop_count = hop_away
if hop == "" and hop_count > 0:
hop = f"{hop_count} Hop" if hop_count == 1 else f"{hop_count} Hops"
if hop_away == 0 and hop_limit == 0 and hop_start == 0:
hop = "Last Hop"