From 780e34fa58fdb0463a2ab36319af48a2e9cc87cc Mon Sep 17 00:00:00 2001 From: Simon Date: Sun, 27 Feb 2022 12:47:37 +0000 Subject: [PATCH] allow status probe --- hblink.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hblink.py b/hblink.py index fe79318..ac4c05e 100755 --- a/hblink.py +++ b/hblink.py @@ -910,7 +910,7 @@ class HBSYSTEM(DatagramProtocol): # Check to see if we've reached the maximum number of allowed peers if len(self._peers) < self._config['MAX_PEERS'] or _peer_id in self._peers: # Check for valid Radio ID - if acl_check(_peer_id, self._CONFIG['GLOBAL']['REG_ACL']) and acl_check(_peer_id, self._config['REG_ACL']) and self.validate_id(_peer_id): + if _peer_id == b'\xff\xff\xff\xff' or (acl_check(_peer_id, self._CONFIG['GLOBAL']['REG_ACL']) and acl_check(_peer_id, self._config['REG_ACL']) and self.validate_id(_peer_id)): # Build the configuration data strcuture for the peer self._peers.update({_peer_id: { 'CONNECTION': 'RPTL-RECEIVED',