Skip to content

Commit

Permalink
test,openbsd: fix multicast test
Browse files Browse the repository at this point in the history
Use the same code path as other BSDs.

Upstreamed from the OpenBSD Ports Collection.

PR-URL: libuv#1797
Reviewed-By: Aaron Bieber <deftly@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
  • Loading branch information
ararslan authored and santigimeno committed Apr 17, 2018
1 parent 992a13d commit 0aa4ed0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/test-udp-multicast-join6.c
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,8 @@ TEST_IMPL(udp_multicast_join6) {
defined(_AIX) || \
defined(__MVS__) || \
defined(__FreeBSD_kernel__) || \
defined(__NetBSD__)
defined(__NetBSD__) || \
defined(__OpenBSD__)
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);
Expand Down

0 comments on commit 0aa4ed0

Please sign in to comment.