sometimes i dislike how strongly typed python is
This commit is contained in:
parent
b49d76f8cb
commit
09354e9ae6
@ -213,7 +213,7 @@ class Config:
|
||||
self.write_exclusion(
|
||||
dir,
|
||||
ipaddress.IPv4Network(
|
||||
f"{'.'.join(route.get('Destination', [255, 255, 255, 255]))}/{route.get('DestinationPrefixLength', 32)}"
|
||||
f"{'.'.join(str(octet) for octet in route.get('Destination', [255, 255, 255, 255]))}/{route.get('DestinationPrefixLength', 32)}"
|
||||
),
|
||||
)
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user