1
This commit is contained in:
Evan Pratten 2023-10-13 13:28:39 -04:00
parent a6631cda83
commit 5f312f96ab

View File

@ -63,7 +63,7 @@ def get_addr_maps(
if lines[0].startswith("AllowedIPs"):
allowed_ips.extend(
[
ipaddress.ip_network(addr)
ipaddress.ip_network(addr.strip())
for addr in (lines[0].split("=")[1].strip()).split(",")
]
)