mirror of
https://github.com/markqvist/Reticulum.git
synced 2026-12-02 04:46:38 -05:00
Refactored traffic accounting
This commit is contained in:
parent
d5f1e014db
commit
01e7ed8443
14 changed files with 14 additions and 35 deletions
|
|
@ -266,9 +266,7 @@ class AX25KISSInterface(Interface):
|
|||
|
||||
|
||||
def process_incoming(self, data):
|
||||
if (len(data) > AX25.HEADER_SIZE):
|
||||
self.rxb += len(data)
|
||||
self.owner.inbound(data[AX25.HEADER_SIZE:], self)
|
||||
if (len(data) > AX25.HEADER_SIZE): self.owner.inbound(data[AX25.HEADER_SIZE:], self)
|
||||
|
||||
|
||||
def process_outgoing(self,data):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue