Skip to content

Commit 12548de

Browse files
ujsxnsaghul
authored andcommitted
test: assume no IPv6 if interfaces cannot be listed
PR-URL: libuv#724 Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
1 parent 96da21d commit 12548de

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/task.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ UNUSED static int can_ipv6(void) {
207207
int i;
208208

209209
if (uv_interface_addresses(&addr, &count))
210-
return 1; /* Assume IPv6 support on failure. */
210+
return 0; /* Assume no IPv6 support on failure. */
211211

212212
supported = 0;
213213
for (i = 0; supported == 0 && i < count; i += 1)

0 commit comments

Comments
 (0)