From 0d7e50d2ba0ba55ae82a0c8df98bb0e7c283cdd8 Mon Sep 17 00:00:00 2001 From: Hemna Date: Wed, 27 Sep 2023 15:45:39 -0400 Subject: [PATCH] Log a warning on dupe This patch logs a warning if we detect a dupe packet inbound. --- aprsd/threads/rx.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/aprsd/threads/rx.py b/aprsd/threads/rx.py index 2ee125f..750d944 100644 --- a/aprsd/threads/rx.py +++ b/aprsd/threads/rx.py @@ -78,6 +78,8 @@ class APRSDPluginRXThread(APRSDRXThread): # we send the 3 acks for the packet. packets.PacketList().rx(packet) self.packet_queue.put(packet) + else: + LOG.warning(f"Packet {packet.from_call}:{packet.msgNo} already tracked, dropping.") class APRSDProcessPacketThread(APRSDThread):