fix acl bug

This commit is contained in:
KF7EEL 2021-10-07 12:37:05 -07:00
parent 19013c6da2
commit 213d85d052

View File

@ -120,13 +120,9 @@ def hblink_handler(_signal, _frame):
def acl_check(_id, _acl): def acl_check(_id, _acl):
id = int_id(_id) id = int_id(_id)
print() # if acl string, build tuple
print(type(entry[0])) if type(_acl) == str:
print(entry[0]) _acl = acl_build(_acl, 4294967295)
print(type(entry[0]))
print(entry[1])
print(id)
print()
for entry in _acl[1]: for entry in _acl[1]:
if entry[0] <= id <= entry[1]: if entry[0] <= id <= entry[1]: