test,openbsd: fix multicast test

Use the same code path as other BSDs.

Upstreamed from the OpenBSD Ports Collection.

PR-URL: https://github.com/libuv/libuv/pull/1797
Reviewed-By: Aaron Bieber <deftly@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
This commit is contained in:
Alex Arslan 2018-04-14 10:47:03 -07:00 committed by Santiago Gimeno
parent 992a13df9b
commit 0aa4ed0d0a
No known key found for this signature in database
GPG Key ID: F28C3C8DA33C03BE

View File

@ -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);