aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornthumann <me@n-thumann.de>2021-05-30 23:34:52 +0200
committernthumann <me@n-thumann.de>2021-05-30 23:47:50 +0200
commit2be35725069fd4c589497b93e09e1c6db6946372 (patch)
tree894c6d2f18a5f670180ad59211dc0106083b4261
parentb295395664bd37e26d168c329f238237b34aef8c (diff)
test: Fix IPv6 check on BSD systems
-rw-r--r--test/functional/test_framework/netutil.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/test_framework/netutil.py b/test/functional/test_framework/netutil.py
index e047e7fa14..5dc723c1d5 100644
--- a/test/functional/test_framework/netutil.py
+++ b/test/functional/test_framework/netutil.py
@@ -151,7 +151,7 @@ def test_ipv6_local():
have_ipv6 = True
try:
s = socket.socket(socket.AF_INET6, socket.SOCK_DGRAM)
- s.connect(('::1', 0))
+ s.connect(('::1', 1))
except socket.error:
have_ipv6 = False
return have_ipv6