mirror of
https://github.com/libuv/libuv
synced 2025-03-28 21:13:16 +00:00
test: fix udp_multicast_join6 on NetBSD
NetBSD must use the uv_udp_set_membership call with "::1%lo0", similar to FreeBSD. PR-URL: https://github.com/libuv/libuv/pull/1577 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
This commit is contained in:
parent
60bf1dfb51
commit
5b6eead064
@ -122,7 +122,8 @@ TEST_IMPL(udp_multicast_join6) {
|
||||
#if defined(__APPLE__) || \
|
||||
defined(_AIX) || \
|
||||
defined(__MVS__) || \
|
||||
defined(__FreeBSD_kernel__)
|
||||
defined(__FreeBSD_kernel__) || \
|
||||
defined(__NetBSD__)
|
||||
r = uv_udp_set_membership(&client, "ff02::1", "::1%lo0", UV_JOIN_GROUP);
|
||||
#else
|
||||
r = uv_udp_set_membership(&client, "ff02::1", NULL, UV_JOIN_GROUP);
|
||||
|
Loading…
x
Reference in New Issue
Block a user