Skip to content

Commit ab6b1ad

Browse files
kristapskfurszy
authored andcommitted
Allow running rpc_bind.py --nonloopback test without IPv6
1 parent 64aa52d commit ab6b1ad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/functional/rpc_bind.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ def run_test(self):
7575

7676
self.log.info("Check for ipv6")
7777
have_ipv6 = test_ipv6_local()
78-
if not have_ipv6 and not self.options.run_ipv4:
78+
if not have_ipv6 and not (self.options.run_ipv4 or self.options.run_nonloopback):
7979
raise SkipTest("This test requires ipv6 support.")
8080

8181
self.log.info("Check for non-loopback interface")

0 commit comments

Comments
 (0)