hand NetBSD IPv6 type
This commit is contained in:
@@ -175,7 +175,7 @@ def createConnections(hosts):
|
|||||||
return None
|
return None
|
||||||
for r in rs:
|
for r in rs:
|
||||||
if verbose: print "address %s" % str(r)
|
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
|
af=socket.AF_INET6
|
||||||
elif r[0] == 2:
|
elif r[0] == 2:
|
||||||
af=socket.AF_INET
|
af=socket.AF_INET
|
||||||
|
|||||||
Reference in New Issue
Block a user