allow status probe

proxy_info
Simon 4 years ago
parent 7a691cde69
commit 780e34fa58
No known key found for this signature in database
GPG Key ID: 6ACF11630B5D8F82

@ -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',

Loading…
Cancel
Save

Powered by TurnKey Linux.