Subject: Re: PR/32676 CVS commit: src/sys/net
To: None <email@example.com>
From: Rui Paulo <firstname.lastname@example.org>
Date: 01/31/2006 23:16:55
Pavel Cahyna <email@example.com> writes:
> The following reply was made to PR kern/32676; it has been noted by GNATS.
> From: Pavel Cahyna <firstname.lastname@example.org>
> To: Rui Paulo <email@example.com>
> Cc: firstname.lastname@example.org
> Subject: Re: PR/32676 CVS commit: src/sys/net
> Date: Tue, 31 Jan 2006 23:37:57 +0100
> On Tue, Jan 31, 2006 at 09:30:40PM +0000, Rui Paulo wrote:
> > Pavel Cahyna <email@example.com> writes:
> > > Shouldn't the whole faith(4) be used only with INET6? Why to compile in
> > > faith without INET6?
> > I agree. I think I'm going to fix that, if no one objects.
> conf/files has:
> file net/if_faith.c faith & inet & inet6 needs-flag
> does it mean that if_faith.c is compiled only if both inet and inet6 are
> defined? Isn't this enough?
No, because ioconf.c (generated by config(8)) has faithattach() and
faithattach() doesn't get compiled in if INET6 isn't defined.
The solution is here do something like:
#error "INET6 must be defined to use faith"
(and stf has the same problem)
Rui Paulo - firstname.lastname@example.org