From 7c935345e50678265be4345984a8749cf12259b1 Mon Sep 17 00:00:00 2001 From: Hemna Date: Mon, 15 Apr 2024 08:34:45 -0400 Subject: [PATCH] added packet_count in packet_list stats --- aprsd/packets/packet_list.py | 1 + 1 file changed, 1 insertion(+) diff --git a/aprsd/packets/packet_list.py b/aprsd/packets/packet_list.py index 87f89fd..54a2595 100644 --- a/aprsd/packets/packet_list.py +++ b/aprsd/packets/packet_list.py @@ -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