mirror of
https://github.com/markqvist/Reticulum.git
synced 2025-08-07 14:02:42 -04:00
Added Transport Instance uptime to rnstatut output
This commit is contained in:
parent
7497e7aa0c
commit
874d76b343
3 changed files with 7 additions and 4 deletions
|
@ -1146,6 +1146,7 @@ class Reticulum:
|
|||
stats["interfaces"] = interfaces
|
||||
if Reticulum.transport_enabled():
|
||||
stats["transport_id"] = RNS.Transport.identity.hash
|
||||
stats["transport_uptime"] = time.time()-RNS.Transport.start_time
|
||||
|
||||
return stats
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue