Subject: Re: CVS commit: src
To: None <current-users@netbsd.org>
From: Rui Paulo <rpaulo@fnop.net>
List: current-users
Date: 05/06/2006 01:31:31
Jeff Ito <ijk@speakeasy.net> writes:
> On Fri, May 05, 2006 at 12:03:22AM +0000, Rui Paulo wrote:
>>
>> Module Name: src
>> Committed By: rpaulo
>> Date: Fri May 5 00:03:22 UTC 2006
>>
>> Modified Files:
>> src/sbin/ping6: Makefile ping6.8 ping6.c
>> src/sys/netinet6: files.netinet6 in6.h in6_pcb.c in6_pcb.h in6_src.c
>> ip6_input.c ip6_output.c ip6_var.h raw_ip6.c udp6_output.c
>> udp6_usrreq.c
>
> One of the changes in in6.h is
> -#define IPV6_PKTOPTIONS 25 /* buf/cmsghdr; set/get
> IPv6 options
>
> Which ping6.c (~964) references and compilation fails.
>
> #else /* old advanced API */
> if (smsghdr.msg_control &&
> setsockopt(dummy, IPPROTO_IPV6, IPV6_PKTOPTIONS,
> (void *)smsghdr.msg_control, smsghdr.msg_controllen))
> err(1, "UDP setsockopt(IPV6_PKTOPTIONS)");
> #endif
I already fixed that. Please cvs up.
--
Rui Paulo <rpaulo@{NetBSD{,-PT}.org,fnop.net}>