Skip to content
Snippets Groups Projects
Verified Commit b286dcc4 authored by Karel Koci's avatar Karel Koci :metal:
Browse files

fixup! fixup! fixup! nsfarm/setup: implement common WAN configuration setups

parent 1374fdd6
Branches
Tags
No related merge requests found
......@@ -79,10 +79,10 @@ class StaticIPv4(CommonWAN):
self.dns = dns
self._config = {
"proto": "static",
"ipaddr": str(network.ip),
"netmask": str(network.network.netmask),
"gateway": str(gateway),
"dns": str(dns if dns is not None else gateway),
"ipaddr": network.ip.compressed,
"netmask": network.network.netmask.compressed,
"gateway": gateway.compressed,
"dns": (dns if dns is not None else gateway).compressed,
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment