Avoid doing rtsol to psuedo interface.

PR:		bin/21062
This commit is contained in:
Hajimu UMEMOTO 2000-09-06 07:39:55 +00:00
parent 0de750cfc8
commit dce3f9e7cd
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=65509
2 changed files with 16 additions and 8 deletions

View File

@ -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`

View File

@ -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`