Date: Wed, 17 Aug 2011 20:25:59 GMT From: Garrett Cooper <yanegomi@gmail.com> To: freebsd-gnats-submit@FreeBSD.org Subject: conf/159846: routing_stop_inet6() logic doesn't handle ipv6_network_interfaces properly Message-ID: <201108172025.p7HKPxCX095580@red.freebsd.org> Resent-Message-ID: <201108172030.p7HKU9UC063184@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 159846
>Category: conf
>Synopsis: routing_stop_inet6() logic doesn't handle ipv6_network_interfaces properly
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Wed Aug 17 20:30:09 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator: Garrett Cooper
>Release: 9.0-BETA1
>Organization:
iXsystems Inc
>Environment:
FreeBSD akai-ntbk.local 9.0-BETA1 FreeBSD 9.0-BETA1 #0 r224653M: Fri Aug 12 04:49:31 PDT 2011 root@:/usr/obj/usr/src/sys/NETBOOK_NOSMP i386
>Description:
As stated in /etc/defaults/rc.conf...
### IPv6 options: ###
ipv6_network_interfaces="auto" # List of IPv6 network interfaces
# (or "auto" or "none").
So, the only accepted values are auto and none.
This doesn't make sense though when used in routing_stop_inet6 though:
routing_stop_inet6()
{
local i
route -n flush -inet6
for i in ${ipv6_network_interfaces}; do
ifconfig $i inet6 -defaultif
done
}
Currently it's cosmetic noise, for the most part, but this also doesn't remove the default interface value either properly.
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201108172025.p7HKPxCX095580>
