Fix DNS relay enable path

This commit is contained in:
up-n-atom
2023-08-17 01:47:47 -04:00
committed by GitHub
parent adbed37fb0
commit 27c876581d
+1 -1
View File
@@ -110,7 +110,7 @@ async def set_dns_servers(client: SagemcomClient, dns_servers: tuple[IPv4Address
break
else:
try:
await client.set_value_by_xpath('Device/DNS/Relay/Enable', True)
await client.set_value_by_xpath('Device/DNS/Client/Servers/Server[@uid=1]/Enable', True)
except Exception as e:
click.echo(e, err=True)