Displaying 1 result from an estimated 1 matches for "dns_host2".
Did you mean:
dns_host1
2011 Jul 18
0
[PATCH node] fix ipv6 support in dns/ntp callbacks
...if warn == 1:
self.screen.setColor("BUTTON", "black", "red")
self.screen.setColor("ACTBUTTON", "blue", "white")
@@ -244,7 +245,8 @@ class NodeConfigScreen():
warn = 0
if not self.dns_host2.value() is None and not self.dns_host2.value() == "":
if not is_valid_ipv4(self.dns_host2.value()):
- warn = 1
+ if not is_valid_ipv6(self.dns_host1.value()):
+ warn = 1
if warn == 1:
self.s...