mirror of
https://github.com/checktheroads/hyperglass
synced 2024-05-11 05:55:08 +00:00
🚸 Deserialize blacklist debug output
This commit is contained in:
@@ -113,7 +113,9 @@ def ip_blacklist(target):
|
||||
for net in user_blacklist
|
||||
if ipaddress.ip_network(net).version == target_ver
|
||||
]
|
||||
logger.debug(f"IPv{target_ver} Blacklist Networks: {networks}")
|
||||
logger.debug(
|
||||
f"IPv{target_ver} Blacklist Networks: {[str(n) for n in networks]}"
|
||||
)
|
||||
while not membership:
|
||||
for net in networks:
|
||||
if ipaddress.ip_network(target).subnet_of(net):
|
||||
|
||||
Reference in New Issue
Block a user