summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
Diffstat (limited to 'etc')
-rwxr-xr-xetc/rc.d/routing6
1 files changed, 4 insertions, 2 deletions
diff --git a/etc/rc.d/routing b/etc/rc.d/routing
index 616a19c..ec90e8d 100755
--- a/etc/rc.d/routing
+++ b/etc/rc.d/routing
@@ -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
}
OpenPOWER on IntegriCloud