fixed ip4 client validation, issue 1218, thanks Joachim Breitsprecher

This commit is contained in:
mdipierro
2012-12-12 21:47:55 -06:00
parent 6fafba0772
commit f6f82a1be1
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1 +1 @@
Version 2.3.0 (2012-12-12 21:45:21) rc1
Version 2.3.0 (2012-12-12 21:47:13) rc1
+1 -1
View File
@@ -247,7 +247,7 @@ class web2pyDialog(object):
self.selected_ip = Tkinter.StringVar()
row = 0
ips = [('127.0.0.1', 'Local (IPv4)')] + \
[('::1', 'Local (IPv6)')] if socket.has_ipv6 else [] + \
([('::1', 'Local (IPv6)')] if socket.has_ipv6 else []) + \
[(ip, 'Public') for ip in options.ips] + \
[('0.0.0.0', 'Public')]
for ip, legend in ips: