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:
parent
23f6856fff
commit
86b84592a8
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user