mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-01-10 20:03:34 -03:00
test: Fix IPv6 check on BSD systems
This commit is contained in:
parent
b295395664
commit
2be3572506
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue