aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHajimu UMEMOTO <ume@FreeBSD.org>2000-09-06 07:39:55 +0000
committerHajimu UMEMOTO <ume@FreeBSD.org>2000-09-06 07:39:55 +0000
commitdce3f9e7cdcac5daf50d5c046b543b129d8fedcb (patch)
tree3d69c566a77330895137a0100d7ab340a48befdd
parent0de750cfc832491227f2804fcc23296f367a7b96 (diff)
Notes
-rw-r--r--etc/rc.d/network_ipv612
-rw-r--r--etc/rc.network612
2 files changed, 16 insertions, 8 deletions
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`