1
0
Fork 1
mirror of https://github.com/thatmattlove/hyperglass.git synced 2026-01-17 08:48:05 +00:00

🚸 Deserialize blacklist debug output

This commit is contained in:
Matt Love 2019-07-09 14:48:03 -07:00
parent f314e533ea
commit 89bf4281e7

View file

@ -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):