|
|
@ -1014,11 +1014,11 @@ def main():
|
|
|
|
sys.exit(1)
|
|
|
|
sys.exit(1)
|
|
|
|
|
|
|
|
|
|
|
|
if args.ipv4_only and args.ipv6_only:
|
|
|
|
if args.ipv4_only and args.ipv6_only:
|
|
|
|
print "You can't listen both on IPv4 and IPv6 \"only\""
|
|
|
|
print "You can't listen both on IPv4 and IPv6 \"only\"."
|
|
|
|
sys.exit(1)
|
|
|
|
sys.exit(1)
|
|
|
|
|
|
|
|
|
|
|
|
if args.ipv6_only and not socket.has_ipv6:
|
|
|
|
if args.ipv6_only and not socket.has_ipv6:
|
|
|
|
print "Your system does not support IPv6"
|
|
|
|
print "Your system does not support IPv6."
|
|
|
|
sys.exit(1)
|
|
|
|
sys.exit(1)
|
|
|
|
|
|
|
|
|
|
|
|
mode = None
|
|
|
|
mode = None
|
|
|
|