diff --git a/xmo-remote-client.py b/xmo-remote-client.py index 9a56f77..52f47f6 100755 --- a/xmo-remote-client.py +++ b/xmo-remote-client.py @@ -107,7 +107,7 @@ async def set_dns_servers(client: SagemcomClient, dns_servers: tuple[IPv4Address if 'uid' in forward and \ 'Alias' in forward and forward['Alias'].startswith('IPCP') and \ 'Interface' in forward and forward['Interface'].endswith('[IP_DATA]') and \ - 'Enable' in forward and not forward['Enable']} + 'Enable' in forward and forward['Enable']} statics = {forward['uid'] for forward in forwards \ if 'uid' in forward and \ 'Alias' in forward and forward['Alias'].startswith('STATIC') and \