mirror of
https://github.com/markqvist/Reticulum.git
synced 2026-11-25 01:16:26 -05:00
Local link traffic counting
This commit is contained in:
parent
eb00622fef
commit
01ffb98ee5
2 changed files with 2 additions and 0 deletions
|
|
@ -309,6 +309,7 @@ class Packet:
|
|||
self.destination.last_outbound = time.time()
|
||||
self.destination.tx += 1
|
||||
self.destination.txbytes += len(self.ciphertext)
|
||||
RNS.Transport.link_txb += len(self.raw)
|
||||
|
||||
if RNS.Transport.outbound(self): return self.receipt
|
||||
else:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue