conf/159846: routing_stop_inet6() logic doesn't handle
ipv6_network_interfaces properly
Garrett Cooper
yanegomi at gmail.com
Wed Aug 17 20:30:10 UTC 2011
>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:
More information about the freebsd-bugs
mailing list