Fix $ipv6_network_interfaces handling in rc.d/routing. It could fail when

it was set to "auto", for example.

MFC after:	3 days
This commit is contained in:
Hiroki Sato 2012-02-04 18:14:49 +00:00
parent 23f6856fff
commit 86b84592a8

View File

@ -98,8 +98,10 @@ routing_stop_inet6()
local i
route -n flush -inet6
for i in ${ipv6_network_interfaces}; do
ifconfig $i inet6 -defaultif
for i in `list_net_interfaces`; do
if ipv6if $i; then
ifconfig $i inet6 -defaultif
fi
done
}