| Index: native_client_sdk/src/libraries/nacl_io/socket/udp_node.cc
|
| diff --git a/native_client_sdk/src/libraries/nacl_io/socket/udp_node.cc b/native_client_sdk/src/libraries/nacl_io/socket/udp_node.cc
|
| index f19baeebce54dda959f55533dcdfea2839bcaa0c..579dcff0c8686c5300a2edc49b5a1a7e847c38c2 100644
|
| --- a/native_client_sdk/src/libraries/nacl_io/socket/udp_node.cc
|
| +++ b/native_client_sdk/src/libraries/nacl_io/socket/udp_node.cc
|
| @@ -436,8 +436,8 @@ Error UdpNode::SetSockOptIPV6(int optname, const void* optval, socklen_t len) {
|
| memcpy(&sin.sin6_addr, &mreq->ipv6mr_multiaddr, sizeof(struct in6_addr));
|
|
|
| PP_Resource net_addr = SockAddrIn6ToResource(&sin, sizeof(sin));
|
| - int32_t error = UDPInterface()->LeaveGroup(socket_resource_, net_addr,
|
| - PP_BlockUntilComplete());
|
| + int32_t error = UDPInterface()->JoinGroup(socket_resource_, net_addr,
|
| + PP_BlockUntilComplete());
|
| return PPERROR_TO_ERRNO(error);
|
| }
|
| case IPV6_LEAVE_GROUP: {
|
|
|