mirror of
https://github.com/markqvist/Sideband.git
synced 2025-02-14 13:41:26 -05:00
Fix traffic counter entries
This commit is contained in:
parent
93aa17177b
commit
156c2d4bd2
@ -2527,10 +2527,10 @@ class RNSTransport(Sensor):
|
||||
"transport_enabled": RNS.Reticulum.transport_enabled(),
|
||||
"transport_identity": RNS.Transport.identity.hash,
|
||||
"transport_uptime": time.time()-RNS.Transport.start_time if RNS.Reticulum.transport_enabled() else None,
|
||||
"traffic_rxb": RNS.Transport.traffic_rxb,
|
||||
"traffic_txb": RNS.Transport.traffic_txb,
|
||||
"speed_rx": RNS.Transport.speed_rx,
|
||||
"speed_tx": RNS.Transport.speed_tx,
|
||||
"traffic_rxb": ifstats["rxb"],
|
||||
"traffic_txb": ifstats["txb"],
|
||||
"speed_rx": ifstats["rxs"],
|
||||
"speed_tx": ifstats["txs"],
|
||||
"memory_used": rss,
|
||||
"ifstats": ifstats,
|
||||
"link_count": r.get_link_count(),
|
||||
|
Loading…
x
Reference in New Issue
Block a user