mirror of
https://github.com/ShaYmez/hblink3.git
synced 2024-11-21 15:41:49 -05:00
commit
cdae79e0ee
@ -86,7 +86,7 @@ def acl_build(_acl, _max):
|
|||||||
if (const.ID_MIN <= start <= _max) or (const.ID_MIN <= end <= _max):
|
if (const.ID_MIN <= start <= _max) or (const.ID_MIN <= end <= _max):
|
||||||
acl.append((start, end))
|
acl.append((start, end))
|
||||||
else:
|
else:
|
||||||
sys.exit('ACL CREATION ERROR, VALUE OUT OF RANGE (} - {})IN RANGE-BASED ENTRY: {}'.format(const.ID_MIN, _max, entry))
|
sys.exit('ACL CREATION ERROR, VALUE OUT OF RANGE ({} - {})IN RANGE-BASED ENTRY: {}'.format(const.ID_MIN, _max, entry))
|
||||||
else:
|
else:
|
||||||
id = int(entry)
|
id = int(entry)
|
||||||
if (const.ID_MIN <= id <= _max):
|
if (const.ID_MIN <= id <= _max):
|
||||||
|
Loading…
Reference in New Issue
Block a user