Typo + oversight

This commit is contained in:
Erik Thuning 2025-03-26 15:59:07 +01:00
parent 184d914107
commit 580b10137f

@ -230,7 +230,7 @@ class WireGuard:
return self.filepath(f'{config_id}{metasuffix}')
def init_routes(self) -> None:
config = Configparser()
config = ConfigParser(interpolation=None)
for conffile in self.configs_base.glob('*/*'+serversuffix):
config.read(conffile)
client_ip_str = config['peer']['allowedips']