test: fix udp_multicast_interface6 on FreeBSD
This commit is contained in:
parent
ac879ed8f8
commit
94c7a13f0a
@ -69,7 +69,7 @@ TEST_IMPL(udp_multicast_interface6) {
|
||||
r = uv_udp_bind(&server, (const struct sockaddr*)&baddr, 0);
|
||||
ASSERT(r == 0);
|
||||
|
||||
#if defined(__APPLE__)
|
||||
#if defined(__APPLE__) || defined(__FreeBSD__)
|
||||
r = uv_udp_set_multicast_interface(&server, "::1%lo0");
|
||||
#else
|
||||
r = uv_udp_set_multicast_interface(&server, NULL);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user