1
0
mirror of https://github.com/craigerl/aprsd.git synced 2026-06-15 20:38:39 -04:00
Files
aprsd/tests/packets
hemna db3a0428c0 Fix DupePacketFilter checking wrong packet's processed flag
DupePacketFilter.filter() was checking packet.processed (the newly
arrived duplicate) instead of found.processed (the previously stored
packet). Since all freshly decoded packets have processed=False by
default, the dupe detection branch was never reachable — every
duplicate message was passed through and re-processed.

This caused KM6LYW's retransmit of msg:9028 (via a different
digipeater path 63s after first receipt) to trigger NearestPlugin
a second time, sending 4 reply packets instead of 2 and resetting
the AckPacket retry counter back to (1 of 3).

Fix: check found.processed instead of packet.processed.
Update existing tests to reflect the correct variable under test.
Add regression test test_filter_aprs_retransmit_via_different_digi
that reproduces the exact production scenario.
2026-06-02 11:17:24 -04:00
..
2025-12-09 17:20:23 -05:00
2025-12-09 17:20:23 -05:00
2025-12-09 17:20:23 -05:00
2026-01-12 23:26:49 -05:00
2025-12-09 17:20:23 -05:00
2026-01-05 17:00:03 -05:00
2025-12-09 17:20:23 -05:00
2025-12-09 17:20:23 -05:00