Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Oct 2012 18:08:28 +0100
From:      Chris Rees <crees@FreeBSD.org>
To:        Hiroki Sato <hrs@freebsd.org>
Cc:        svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org
Subject:   Re: svn commit: r242181 - in head/etc: . rc.d
Message-ID:  <CADLo83-psYE3T9%2BaZhEfQWpm6Ht3snC8OrQ=1Qarhnv124OQqg@mail.gmail.com>
In-Reply-To: <201210271706.q9RH6Qu4018997@svn.freebsd.org>
References:  <201210271706.q9RH6Qu4018997@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 27 October 2012 18:06, Hiroki Sato <hrs@freebsd.org> wrote:
> Author: hrs
> Date: Sat Oct 27 17:06:26 2012
> New Revision: 242181
> URL: http://svn.freebsd.org/changeset/base/242181
>
> Log:
>   Fix an issue when ipv6_enable=YES && ipv6_gateway_enable=YES which could
>   prevent rtadvd(8) from working as intended.
>
>   Spotted by:   brian
>   Discussed with:       brian
>
> Modified:
>   head/etc/network.subr
>   head/etc/rc.d/rtadvd
>
> Modified: head/etc/network.subr
> ==============================================================================
> --- head/etc/network.subr       Sat Oct 27 16:44:41 2012        (r242180)
> +++ head/etc/network.subr       Sat Oct 27 17:06:26 2012        (r242181)
> @@ -504,7 +504,11 @@ ipv6_autoconfif()
>         # backward compatibility: $ipv6_enable
>         case $ipv6_enable in
>         [Yy][Ee][Ss]|[Tt][Rr][Uu][Ee]|[Oo][Nn]|1)
> -               return 0
> +               if checkyesno ipv6_gateway_enable; then
> +                       return 1
> +               else
> +                       return 0
> +               fi

While there, any chance to use checkyesno ipv6_enable too?

Chris



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CADLo83-psYE3T9%2BaZhEfQWpm6Ht3snC8OrQ=1Qarhnv124OQqg>