From dce3f9e7cdcac5daf50d5c046b543b129d8fedcb Mon Sep 17 00:00:00 2001 From: Hajimu UMEMOTO Date: Wed, 6 Sep 2000 07:39:55 +0000 Subject: Avoid doing rtsol to psuedo interface. PR: bin/21062 --- etc/rc.d/network_ipv6 | 12 ++++++++---- etc/rc.network6 | 12 ++++++++---- 2 files changed, 16 insertions(+), 8 deletions(-) (limited to 'etc') diff --git a/etc/rc.d/network_ipv6 b/etc/rc.d/network_ipv6 index a244b03f0220..0b0f80fe6dcc 100644 --- a/etc/rc.d/network_ipv6 +++ b/etc/rc.d/network_ipv6 @@ -190,10 +190,14 @@ network6_pass1() { sysctl -w net.inet6.ip6.forwarding=0 sysctl -w net.inet6.ip6.accept_rtadv=1 - ifconfig ${ipv6_network_interfaces} up - rtsol ${ipv6_network_interfaces} - - + case ${ipv6_network_interfaces} in + lo0|gif*|stf*|faith*) + ;; + *) + ifconfig ${ipv6_network_interfaces} up + rtsol ${ipv6_network_interfaces} + ;; + esac # wait for DAD's completion (for global addrs) sleep `sysctl -n net.inet6.ip6.dad_count` diff --git a/etc/rc.network6 b/etc/rc.network6 index a244b03f0220..0b0f80fe6dcc 100644 --- a/etc/rc.network6 +++ b/etc/rc.network6 @@ -190,10 +190,14 @@ network6_pass1() { sysctl -w net.inet6.ip6.forwarding=0 sysctl -w net.inet6.ip6.accept_rtadv=1 - ifconfig ${ipv6_network_interfaces} up - rtsol ${ipv6_network_interfaces} - - + case ${ipv6_network_interfaces} in + lo0|gif*|stf*|faith*) + ;; + *) + ifconfig ${ipv6_network_interfaces} up + rtsol ${ipv6_network_interfaces} + ;; + esac # wait for DAD's completion (for global addrs) sleep `sysctl -n net.inet6.ip6.dad_count` -- cgit v1.3