Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(404)

Unified Diff: native_client_sdk/src/libraries/nacl_io/socket/udp_node.cc

Issue 2540513003: [NaCl SDK] IPV6_JOIN_GROUP should call JoinGroup, not LeaveGroup (Closed)
Patch Set: Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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: {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698