mirror of
https://github.com/craigerl/aprsd.git
synced 2025-08-03 05:52:26 -04:00
Log a warning on dupe
This patch logs a warning if we detect a dupe packet inbound.
This commit is contained in:
parent
1f6c55d2bf
commit
0d7e50d2ba
@ -78,6 +78,8 @@ class APRSDPluginRXThread(APRSDRXThread):
|
|||||||
# we send the 3 acks for the packet.
|
# we send the 3 acks for the packet.
|
||||||
packets.PacketList().rx(packet)
|
packets.PacketList().rx(packet)
|
||||||
self.packet_queue.put(packet)
|
self.packet_queue.put(packet)
|
||||||
|
else:
|
||||||
|
LOG.warning(f"Packet {packet.from_call}:{packet.msgNo} already tracked, dropping.")
|
||||||
|
|
||||||
|
|
||||||
class APRSDProcessPacketThread(APRSDThread):
|
class APRSDProcessPacketThread(APRSDThread):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user