mirror of
https://github.com/craigerl/aprsd.git
synced 2024-11-17 22:01:49 -05:00
Make sure SeenList update has a from in packet
This makes sure that the packet being processed by the seenlist has a from address.
This commit is contained in:
parent
66c5d85b89
commit
89701c8a70
@ -176,6 +176,9 @@ class SeenList(objectstore.ObjectStoreMixin):
|
||||
callsign = packet["fromcall"]
|
||||
elif "from" in packet:
|
||||
callsign = packet["from"]
|
||||
else:
|
||||
LOG.warning(f"Can't find FROM in packet {packet}")
|
||||
return
|
||||
if callsign not in self.data:
|
||||
self.data[callsign] = {
|
||||
"last": None,
|
||||
|
Loading…
Reference in New Issue
Block a user