diff options
author | ume <ume@FreeBSD.org> | 2000-09-06 07:39:55 +0000 |
---|---|---|
committer | ume <ume@FreeBSD.org> | 2000-09-06 07:39:55 +0000 |
commit | 7d9cb18ab187a739d44e01ba6272ef88a52546a1 (patch) | |
tree | 24836f759e6d69df95880eba2750872e2b96136c | |
parent | 4cb6e07eff50cdac3f7749db23fbc6e2027d314f (diff) | |
download | FreeBSD-src-7d9cb18ab187a739d44e01ba6272ef88a52546a1.zip FreeBSD-src-7d9cb18ab187a739d44e01ba6272ef88a52546a1.tar.gz |
Avoid doing rtsol to psuedo interface.
PR: bin/21062
-rw-r--r-- | etc/rc.d/network_ipv6 | 12 | ||||
-rw-r--r-- | etc/rc.network6 | 12 |
2 files changed, 16 insertions, 8 deletions
diff --git a/etc/rc.d/network_ipv6 b/etc/rc.d/network_ipv6 index a244b03..0b0f80f 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 a244b03..0b0f80f 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` |