From owner-freebsd-net Tue Feb 8 3:13:41 2000 Delivered-To: freebsd-net@freebsd.org Received: from prince.net.ebina.hitachi.co.jp (kame196.kame.net [203.178.141.196]) by builder.freebsd.org (Postfix) with ESMTP id 1D0C041CB for ; Tue, 8 Feb 2000 03:13:30 -0800 (PST) Received: from ebina.hitachi.co.jp (localhost [127.0.0.1]) by prince.net.ebina.hitachi.co.jp (8.9.3/3.7W) with SMTP id UAA06835; Tue, 8 Feb 2000 20:14:04 +0900 (JST) From: sumikawa@ebina.hitachi.co.jp Message-Id: <200002081114.UAA06835@prince.net.ebina.hitachi.co.jp> Date: Tue, 8 Feb 2000 20:14:04 +0900 (JST) To: alex@big.endian.de Cc: jinmei@isl.rdc.toshiba.co.jp, net@FreeBSD.ORG Cc: sumikawa@ebina.hitachi.co.jp Subject: Re: IPV6_DROP_MEMBERSHIP not defined In-Reply-To: <20000208121128.A2675@cichlids.cichlids.com> References: <20000207183115.A4246@cichlids.cichlids.com> <20000208121128.A2675@cichlids.cichlids.com> X-Mailer: xcite1.31> Mew version 1.95b10 on Emacs 20.4 / Mule 4.0 (HANANOEN) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org alex> Ah, ok, sorry. alex> I'll patch it then. I've already made the following patch and send it to the maintainer. Could you try it? --- Munechika SUMIKAWA @ KAME Project / FreeBSD.org Index: Makefile =================================================================== RCS file: /home/ncvs/ports/net/libunp/Makefile,v retrieving revision 1.1.1.1 diff -u -r1.1.1.1 Makefile --- Makefile 1999/10/02 19:13:05 1.1.1.1 +++ Makefile 2000/02/08 06:20:29 @@ -8,7 +8,7 @@ DISTNAME= unpv12e PKGNAME= libunp-1.0 -CATEGORIES= net +CATEGORIES= net ipv6 MASTER_SITES= ftp://ftp.kohala.com/pub/rstevens/ \ http://www.cs.columbia.edu/networks98/stevens/ Index: patches/patch-ar =================================================================== RCS file: patch-ar diff -N patch-ar --- /dev/null Tue Feb 8 14:09:55 2000 +++ patch-ar Tue Feb 8 15:20:30 2000 @@ -0,0 +1,11 @@ +--- 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 Index: patches/patch-as =================================================================== RCS file: patch-as diff -N patch-as --- /dev/null Tue Feb 8 14:09:55 2000 +++ patch-as Tue Feb 8 15:20:30 2000 @@ -0,0 +1,11 @@ +--- lib/mcast_join.c- Tue Feb 8 15:12:14 2000 ++++ lib/mcast_join.c Tue Feb 8 15:12:37 2000 +@@ -56,7 +56,7 @@ + else + mreq6.ipv6mr_interface = 0; + +- return(setsockopt(sockfd, IPPROTO_IPV6, IPV6_ADD_MEMBERSHIP, ++ return(setsockopt(sockfd, IPPROTO_IPV6, IPV6_JOIN_GROUP, + &mreq6, sizeof(mreq6))); + } + #endif To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message