Typo + oversight
This commit is contained in:
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']
|
||||
|
Loading…
x
Reference in New Issue
Block a user