mirror of
https://github.com/DJ2LS/FreeDATA
synced 2024-05-14 08:04:33 +00:00
Remove errant inclusion of NOCALL ping logging.
This commit is contained in:
parent
82935dcaae
commit
9f9b5e98e2
1 changed files with 0 additions and 5 deletions
|
@ -1483,11 +1483,6 @@ class DATA():
|
||||||
valid, mycallsign = helpers.check_callsign(self.mycallsign, data_in[1:3])
|
valid, mycallsign = helpers.check_callsign(self.mycallsign, data_in[1:3])
|
||||||
if not valid:
|
if not valid:
|
||||||
# PING packet not for me.
|
# PING packet not for me.
|
||||||
# But is it a "NO-CALL" PING? Check against an 'empty' callsign.
|
|
||||||
valid, _ = helpers.check_callsign(bytes(), data_in[1:3])
|
|
||||||
if valid:
|
|
||||||
structlog.get_logger("structlog").info("[TNC] PING HEARD [" + "(NOCALL)" + "] <<< [" + str(static.DXCALLSIGN, 'utf-8') + "]", snr=static.SNR )
|
|
||||||
# Either way, skip the remainder of received_ping.
|
|
||||||
return
|
return
|
||||||
|
|
||||||
structlog.get_logger("structlog").info("[TNC] PING REQ [" + str(mycallsign, 'utf-8') + "] <<< [" + str(static.DXCALLSIGN, 'utf-8') + "]", snr=static.SNR )
|
structlog.get_logger("structlog").info("[TNC] PING REQ [" + str(mycallsign, 'utf-8') + "] <<< [" + str(static.DXCALLSIGN, 'utf-8') + "]", snr=static.SNR )
|
||||||
|
|
Loading…
Reference in a new issue