Skip to content
This repository has been archived by the owner on May 4, 2018. It is now read-only.

Commit

Permalink
test: fix multicast join test on OSX when using IPv6
Browse files Browse the repository at this point in the history
  • Loading branch information
saghul committed Mar 20, 2014
1 parent 0ee3ce9 commit 1824225
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/test-udp-multicast-join6.c
Expand Up @@ -116,7 +116,11 @@ TEST_IMPL(udp_multicast_join6) {
ASSERT(r == 0);

/* join the multicast channel */
#if defined(__APPLE__)
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);
#endif
ASSERT(r == 0);

r = uv_udp_recv_start(&client, alloc_cb, cl_recv_cb);
Expand Down

0 comments on commit 1824225

Please sign in to comment.