Remove and NAK client failing hash check

This commit is contained in:
Cort Buffington 2016-07-25 18:55:23 -05:00
parent 9538d5af13
commit ca1f59cdb7
1 changed files with 2 additions and 1 deletions

View File

@ -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: