mirror of
https://github.com/markqvist/Reticulum.git
synced 2026-11-19 14:36:34 -05:00
Diagnostics
This commit is contained in:
parent
f96cef7ed9
commit
9b6b724b08
2 changed files with 4 additions and 0 deletions
|
|
@ -1775,6 +1775,7 @@ class Reticulum:
|
|||
|
||||
ifstats["name"] = str(interface)
|
||||
ifstats["short_name"] = str(interface.name)
|
||||
ifstats["tunnel_id"] = interface.tunnel_id
|
||||
ifstats["hash"] = interface.get_hash()
|
||||
ifstats["type"] = str(type(interface).__name__)
|
||||
ifstats["mtu"] = interface.HW_MTU
|
||||
|
|
|
|||
|
|
@ -551,6 +551,9 @@ def program_setup(configdir, dispall=False, verbosity=0, name_filter=None, json=
|
|||
if "bitrate" in ifstat and ifstat["bitrate"] != None:
|
||||
print(f" Rate : {speed_str(ifstat['bitrate'])}, MTU {ifstat['mtu']}")
|
||||
|
||||
# if "tunnel_id" in ifstat: # TODO: Add switch
|
||||
# print(f" Tunnel ID : {RNS.prettyhexrep(ifstat['tunnel_id']) if ifstat['tunnel_id'] else 'None'}")
|
||||
|
||||
if "noise_floor" in ifstat:
|
||||
if not "interference" in ifstat: nstr = ""
|
||||
else:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue