mirror of
https://github.com/craigerl/aprsd.git
synced 2025-08-11 09:42:26 -04:00
added packet_count in packet_list stats
This commit is contained in:
parent
c2f8af06bc
commit
7c935345e5
@ -104,6 +104,7 @@ class PacketList(objectstore.ObjectStoreMixin):
|
|||||||
"rx": self._total_rx,
|
"rx": self._total_rx,
|
||||||
"tx": self._total_tx,
|
"tx": self._total_tx,
|
||||||
"types": self.data["types"],
|
"types": self.data["types"],
|
||||||
|
"packet_count": len(self.data["packets"]),
|
||||||
"packets": pkts,
|
"packets": pkts,
|
||||||
}
|
}
|
||||||
return stats
|
return stats
|
||||||
|
Loading…
x
Reference in New Issue
Block a user