mirror of
https://github.com/markqvist/Reticulum.git
synced 2025-05-04 07:34:51 -04:00
Improved path utility output
This commit is contained in:
parent
dd5133751e
commit
f25906d44e
4 changed files with 33 additions and 3 deletions
|
@ -32,6 +32,7 @@ def program_setup(configdir, dispall=False, verbosity = 0):
|
|||
for ifstat in ifstats:
|
||||
name = ifstat["name"]
|
||||
|
||||
print("")
|
||||
if dispall or not (name.startswith("LocalInterface[") or name.startswith("TCPInterface[Client")):
|
||||
if ifstat["status"]:
|
||||
ss = "Up"
|
||||
|
@ -53,7 +54,7 @@ def program_setup(configdir, dispall=False, verbosity = 0):
|
|||
if clients != None:
|
||||
print("\t"+clients_string)
|
||||
print("\tRX: {rxb}\n\tTX: {txb}".format(rxb=size_str(ifstat["rxb"]), txb=size_str(ifstat["txb"])))
|
||||
print("")
|
||||
|
||||
else:
|
||||
print("Could not get RNS status")
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue