From 145d2f45376674d63ba79477b42f3db59b14ed98 Mon Sep 17 00:00:00 2001 From: n0mjs710 Date: Wed, 21 Nov 2018 10:58:16 -0600 Subject: [PATCH] Fixed typo in registration ACL processing --- hblink.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hblink.py b/hblink.py index 65e339b..1f5691c 100755 --- a/hblink.py +++ b/hblink.py @@ -366,7 +366,7 @@ class HBSYSTEM(DatagramProtocol): elif _command == 'RPTL': # RPTLogin -- a repeater wants to login _peer_id = _data[4:8] # Check for valid Radio ID - if acl_check(_peer_id, self._CONFIG['REG_ACL']) and acl_check(_peer_id, self._config['REG_ACL']): + if acl_check(_peer_id, self._CONFIG['GLOBAL']['REG_ACL']) and acl_check(_peer_id, self._config['REG_ACL']): # Build the configuration data strcuture for the peer self._peers.update({_peer_id: { 'CONNECTION': 'RPTL-RECEIVED', @@ -732,4 +732,4 @@ if __name__ == '__main__': reactor.listenUDP(CONFIG['SYSTEMS'][system]['PORT'], systems[system], interface=CONFIG['SYSTEMS'][system]['IP']) logger.debug('%s instance created: %s, %s', CONFIG['SYSTEMS'][system]['MODE'], system, systems[system]) - reactor.run() \ No newline at end of file + reactor.run()