hand NetBSD IPv6 type

This commit is contained in:
2016-04-23 13:40:59 -04:00
parent e5cee3a288
commit f21d05edab
+1 -1
View File
@@ -175,7 +175,7 @@ def createConnections(hosts):
return None
for r in rs:
if verbose: print "address %s" % str(r)
if r[0] in [10, 28, 30]:
if r[0] in [10, 24, 28, 30]: # for Linux, NetBSD, FreeBSD
af=socket.AF_INET6
elif r[0] == 2:
af=socket.AF_INET