mirror of
https://github.com/craigerl/aprsd.git
synced 2025-04-10 05:28:58 -04:00
Ignore callsign case while processing packets
This patch fixes an issue where aprsd was deciding if it was supposed to process a packet destined for itself or not. It was making a case sensitive comparison. This patch makes that comparison case insensitive for the callsign itself.
This commit is contained in:
parent
78329f79f4
commit
44696fbc56
@ -115,7 +115,7 @@ class APRSDProcessPacketThread(APRSDThread):
|
||||
)
|
||||
|
||||
# Only ack messages that were sent directly to us
|
||||
if tocall == self.config["aprsd"]["callsign"]:
|
||||
if (tocall.lower() == self.config["aprsd"]["callsign"].lower()):
|
||||
stats.APRSDStats().msgs_rx_inc()
|
||||
# let any threads do their thing, then ack
|
||||
# send an ack last
|
||||
|
Loading…
Reference in New Issue
Block a user