added packet_count in packet_list stats

This commit is contained in:
Hemna 2024-04-15 08:34:45 -04:00
parent c2f8af06bc
commit 7c935345e5
1 changed files with 1 additions and 0 deletions

View File

@ -104,6 +104,7 @@ class PacketList(objectstore.ObjectStoreMixin):
"rx": self._total_rx,
"tx": self._total_tx,
"types": self.data["types"],
"packet_count": len(self.data["packets"]),
"packets": pkts,
}
return stats