1
0
mirror of https://github.com/craigerl/aprsd.git synced 2024-12-21 17:11:01 -05:00

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

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