From 09354e9ae67e6d9917d3c4f76a2532a820d3b6a0 Mon Sep 17 00:00:00 2001 From: Ezri Brimhall Date: Wed, 4 Feb 2026 10:25:53 -0700 Subject: [PATCH] sometimes i dislike how strongly typed python is --- src/vpn_manager_globalprotect/vpnc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vpn_manager_globalprotect/vpnc.py b/src/vpn_manager_globalprotect/vpnc.py index 2ca67d7..5d345a6 100644 --- a/src/vpn_manager_globalprotect/vpnc.py +++ b/src/vpn_manager_globalprotect/vpnc.py @@ -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)}" ), )