freebsd-ports/net/libunp/files/patch-lib_mcast_leave.c
Adam Weinberger 69ea23ed71 Rename net/ patch-xy patches to reflect the files they modify.
Approve by:	portmgr (not really, but one of these is modifying
		an unstaged port)
2014-07-29 01:59:16 +00:00

11 lines
398 B
C

--- lib/mcast_leave.c- Tue Feb 8 15:10:50 2000
+++ lib/mcast_leave.c Tue Feb 8 15:05:53 2000
@@ -23,7 +23,7 @@
&((struct sockaddr_in6 *) sa)->sin6_addr,
sizeof(struct in6_addr));
mreq6.ipv6mr_interface = 0;
- return(setsockopt(sockfd, IPPROTO_IPV6, IPV6_DROP_MEMBERSHIP,
+ return(setsockopt(sockfd, IPPROTO_IPV6, IPV6_LEAVE_GROUP,
&mreq6, sizeof(mreq6)));
}
#endif