1
0
mirror of https://github.com/craigerl/aprsd.git synced 2026-06-17 21:28:49 -04:00

Fixed PacketTrack with UnknownPacket

This patch fixes an issue with rx() for an UnknownPacket type
trying to access ackMsgNo (reply ack)
This commit is contained in:
2024-04-24 10:45:47 -04:00
parent 992485e9c7
commit 2b2bf6c92d
+1 -1
View File
@@ -88,7 +88,7 @@ class PacketTrack(objectstore.ObjectStoreMixin):
self._remove(packet.msgNo)
elif isinstance(packet, core.RejectPacket):
self._remove(packet.msgNo)
elif packet.ackMsgNo:
elif hasattr(packet, "ackMsgNo"):
# Got a piggyback ack, so remove the original message
self._remove(packet.ackMsgNo)