svn commit: r242181 - in head/etc: . rc.d
Hiroki Sato
hrs at FreeBSD.org
Sat Oct 27 17:21:05 UTC 2012
Chris Rees <crees at FreeBSD.org> wrote
in <CADLo83-psYE3T9+aZhEfQWpm6Ht3snC8OrQ=1Qarhnv124OQqg at mail.gmail.com>:
cr> On 27 October 2012 18:06, Hiroki Sato <hrs at freebsd.org> wrote:
cr> > Author: hrs
cr> > Date: Sat Oct 27 17:06:26 2012
cr> > New Revision: 242181
cr> > URL: http://svn.freebsd.org/changeset/base/242181
cr> >
cr> > Log:
cr> > Fix an issue when ipv6_enable=YES && ipv6_gateway_enable=YES which could
cr> > prevent rtadvd(8) from working as intended.
cr> >
cr> > Spotted by: brian
cr> > Discussed with: brian
cr> >
cr> > Modified:
cr> > head/etc/network.subr
cr> > head/etc/rc.d/rtadvd
cr> >
cr> > Modified: head/etc/network.subr
cr> > ==============================================================================
cr> > --- head/etc/network.subr Sat Oct 27 16:44:41 2012 (r242180)
cr> > +++ head/etc/network.subr Sat Oct 27 17:06:26 2012 (r242181)
cr> > @@ -504,7 +504,11 @@ ipv6_autoconfif()
cr> > # backward compatibility: $ipv6_enable
cr> > case $ipv6_enable in
cr> > [Yy][Ee][Ss]|[Tt][Rr][Uu][Ee]|[Oo][Nn]|1)
cr> > - return 0
cr> > + if checkyesno ipv6_gateway_enable; then
cr> > + return 1
cr> > + else
cr> > + return 0
cr> > + fi
cr>
cr> While there, any chance to use checkyesno ipv6_enable too?
No, this is intentional because ipv6_enable is a deprecated variable
and a "not set properly" warning should not be displayed even if it
is not defined.
-- Hiroki
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/svn-src-head/attachments/20121028/439959d5/attachment.sig>
More information about the svn-src-head
mailing list