diff options
author | nthumann <me@n-thumann.de> | 2021-05-30 23:34:52 +0200 |
---|---|---|
committer | nthumann <me@n-thumann.de> | 2021-05-30 23:47:50 +0200 |
commit | 2be35725069fd4c589497b93e09e1c6db6946372 (patch) | |
tree | 894c6d2f18a5f670180ad59211dc0106083b4261 /test/functional/test_framework | |
parent | b295395664bd37e26d168c329f238237b34aef8c (diff) |
test: Fix IPv6 check on BSD systems
Diffstat (limited to 'test/functional/test_framework')
-rw-r--r-- | test/functional/test_framework/netutil.py | 2 |
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 |