mirror of
https://github.com/markqvist/Reticulum.git
synced 2024-10-01 03:15:44 -04:00
Updated rnpath utility
This commit is contained in:
parent
9edb641058
commit
76d75e9a3e
@ -37,7 +37,11 @@ def program_setup(configdir, destination_hexhash):
|
||||
sys.stdout.flush()
|
||||
i = (i+1)%len(syms)
|
||||
|
||||
print("\rPath found, destination "+RNS.prettyhexrep(destination_hash)+" is "+str(RNS.Transport.hops_to(destination_hash))+" hops away via "+RNS.prettyhexrep(RNS.Transport.next_hop(destination_hash))+" on "+str(RNS.Transport.next_hop_interface(destination_hash)))
|
||||
hops = str(RNS.Transport.hops_to(destination_hash))
|
||||
next_hop = RNS.prettyhexrep(RNS.Transport.next_hop(destination_hash))
|
||||
next_hop_interface = str(RNS.Transport.next_hop_interface(destination_hash))
|
||||
|
||||
print("\rPath found, destination "+RNS.prettyhexrep(destination_hash)+" is "+hops+" hops away via "+next_hop+" on "+next_hop_interface)
|
||||
|
||||
|
||||
def main():
|
||||
|
Loading…
Reference in New Issue
Block a user