From ca1f59cdb74b61ad9d278d06dd425222ec2f0766 Mon Sep 17 00:00:00 2001 From: Cort Buffington Date: Mon, 25 Jul 2016 18:55:23 -0500 Subject: [PATCH] Remove and NAK client failing hash check --- hblink.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hblink.py b/hblink.py index f86b8a7..25df6eb 100755 --- a/hblink.py +++ b/hblink.py @@ -193,7 +193,8 @@ class HBMASTER(DatagramProtocol): logger.info('(%s) Client %s has completed the login exchange successfully', self._master, _this_client['RADIO_ID']) else: logger.info('(%s) Client %s has FAILED the login exchange successfully', self._master, _this_client['RADIO_ID']) - # Add removal of client here... + self.transport.write('MSTNAK'+_radio_id, (_host, _port)) + del self._clients[_radio_id] else: