From 4418bbc1fbba7101931d0488b65c109ced7582ab Mon Sep 17 00:00:00 2001 From: phl0 Date: Thu, 1 Sep 2016 18:00:41 +0200 Subject: [PATCH] Add output of callsign to ping messages --- hblink.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hblink.py b/hblink.py index 33658c2..8e109aa 100755 --- a/hblink.py +++ b/hblink.py @@ -357,7 +357,7 @@ class HBMASTER(DatagramProtocol): and self._clients[_radio_id]['PORT'] == _port: self._clients[_radio_id]['LAST_PING'] = time() self.send_client(_radio_id, 'MSTPONG'+_radio_id) - logger.debug('(%s) Received and answered RPTPING from client %s', self._master, int_id(_radio_id)) + logger.debug('(%s) Received and answered RPTPING from client %s (%s)', self._master, self._clients[_radio_id]['CALLSIGN'], int_id(_radio_id)) else: self.transport.write('MSTNAK'+_radio_id, (_host, _port)) logger.warning('(%s) Client info from Radio ID that has not logged in: %s', self._master, int_id(_radio_id))