mirror of
https://github.com/dashpay/dash.git
synced 2024-12-24 11:32:46 +01:00
Revert "Merge #5988: test: disable ipv6 tests for now"
This reverts commit0bb188a077
, reversing changes made to45bdfa582d
.
This commit is contained in:
parent
79ced62d6f
commit
ab8c6d61cd
@ -146,12 +146,10 @@ def test_ipv6_local():
|
||||
'''
|
||||
# By using SOCK_DGRAM this will not actually make a connection, but it will
|
||||
# fail if there is no route to IPv6 localhost.
|
||||
return False
|
||||
# TODO: disabled until amazon ipv6 issues are resolved
|
||||
# have_ipv6 = True
|
||||
# try:
|
||||
# s = socket.socket(socket.AF_INET6, socket.SOCK_DGRAM)
|
||||
# s.connect(('::1', 1))
|
||||
# except socket.error:
|
||||
# have_ipv6 = False
|
||||
# return have_ipv6
|
||||
have_ipv6 = True
|
||||
try:
|
||||
s = socket.socket(socket.AF_INET6, socket.SOCK_DGRAM)
|
||||
s.connect(('::1', 1))
|
||||
except socket.error:
|
||||
have_ipv6 = False
|
||||
return have_ipv6
|
||||
|
Loading…
Reference in New Issue
Block a user