[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Solution for FreeBSD cfengine IPv6 troubles
From: |
Mark . Burgess |
Subject: |
Re: Solution for FreeBSD cfengine IPv6 troubles |
Date: |
Wed, 2 Jun 2004 11:04:35 +0200 (MEST) |
Just for the record, this is not cfengine's fault.
It is the BSD code that does not follow the standards.
M
On 2 Jun, Armin Wolfermann wrote:
> * Tiller Beauchamp <tiller@cs.ucsd.edu> [02.06.2004 02:08]:
>> [...] Please comment if you have a better way or explanation.
>
> Use this patch. Something more elegant would be nice, though.
>
> --- src/cfservd.c.orig Sat Apr 17 16:10:54 2004
> +++ src/cfservd.c Wed Jun 2 10:41:04 2004
> @@ -754,9 +754,9 @@ for (ap = response ; ap != NULL; ap=ap->
> {
> Debug("Bound to address %s on
>
> %s=%d\n",sockaddr_ntop(ap->ai_addr),CLASSTEXT[VSYSTEMHARDCLASS],VSYSTEMHARDCLASS);
>
> - if (VSYSTEMHARDCLASS == openbsd)
> + if (VSYSTEMHARDCLASS == openbsd || VSYSTEMHARDCLASS == freebsd)
> {
> - continue; /* openbsd doesn't map ipv6 addresses */
> + continue; /* FIXME: system doesn't map ipv6 addresses */
> }
> else
> {
>
> Regards,
> Armin Wolfermann
>
>
> _______________________________________________
> Help-cfengine mailing list
> Help-cfengine@gnu.org
> http://lists.gnu.org/mailman/listinfo/help-cfengine
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Work: +47 22453272 Email: Mark.Burgess@iu.hio.no
Fax : +47 22453205 WWW : http://www.iu.hio.no/~mark
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~