mirror of
https://github.com/craigerl/aprsd.git
synced 2025-09-05 14:47:53 -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:
parent
992485e9c7
commit
2b2bf6c92d
@ -88,7 +88,7 @@ class PacketTrack(objectstore.ObjectStoreMixin):
|
|||||||
self._remove(packet.msgNo)
|
self._remove(packet.msgNo)
|
||||||
elif isinstance(packet, core.RejectPacket):
|
elif isinstance(packet, core.RejectPacket):
|
||||||
self._remove(packet.msgNo)
|
self._remove(packet.msgNo)
|
||||||
elif packet.ackMsgNo:
|
elif hasattr(packet, "ackMsgNo"):
|
||||||
# Got a piggyback ack, so remove the original message
|
# Got a piggyback ack, so remove the original message
|
||||||
self._remove(packet.ackMsgNo)
|
self._remove(packet.ackMsgNo)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user