Log a warning on dupe

This patch logs a warning if we detect a dupe packet inbound.
This commit is contained in:
Hemna 2023-09-27 15:45:39 -04:00
parent 1f6c55d2bf
commit 0d7e50d2ba
1 changed files with 2 additions and 0 deletions

View File

@ -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):