search for: ntp_host2_callback

Displaying 1 result from an estimated 1 matches for "ntp_host2_callback".

Did you mean: ntp_host1_callback
2011 Jul 18
0
[PATCH node] fix ipv6 support in dns/ntp callbacks
...CTBUTTON", "blue", "white") + ButtonChoiceWindow(self.screen, "Network", "Invalid IP Address", buttons = ['Ok']) + self.ntp_host1.set("") + self.reset_screen_colors() + return + + def ntp_host2_callback(self): + warn = 0 + if not self.ntp_host2.value() is None and not self.ntp_host2.value() == "": + if not is_valid_ipv4(self.ntp_host2.value()): + if not is_valid_ipv6(self.ntp_host1.value()): + warn = 1 + if w...