We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent db2d6f3 commit 63bfcf9Copy full SHA for 63bfcf9
test/functional/feature_bind_extra.py
@@ -50,6 +50,21 @@ def setup_network(self):
50
51
self.have_ipv6 = test_ipv6_local()
52
53
+ if self.have_ipv6:
54
+ self.log.info("IPv6 support detected")
55
+
56
+ import socket
57
+ self.log.info("III 1")
58
+ try:
59
+ self.log.info("III 2")
60
+ s = socket.socket(socket.AF_INET6, socket.SOCK_DGRAM)
61
+ self.log.info("III 3")
62
+ s.connect(('::1', 0))
63
+ self.log.info("III 4")
64
+ except socket.error:
65
+ self.log.info("III 5")
66
+ self.log.info("III 6")
67
68
any_ipv4 = addr_to_hex('0.0.0.0')
69
any_ipv6 = addr_to_hex('::')
70
loopback_ipv4 = addr_to_hex('127.0.0.1')
0 commit comments