Refactored traffic accounting

This commit is contained in:
Mark Qvist 2026-11-13 20:18:51 +01:00
parent d5f1e014db
commit 01e7ed8443
No known key found for this signature in database
14 changed files with 14 additions and 35 deletions

View file

@ -1043,10 +1043,6 @@ class BackboneClientInterface(Interface):
def process_incoming(self, data):
if self.online and not self.detached:
self.rxb += len(data)
if hasattr(self, "parent_interface") and self.parent_interface != None:
self.parent_interface.rxb += len(data)
self.dp_ingress_packets += 1
self.owner.inbound(data, self)