mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2025-01-09 16:01:19 +01:00
Avoid doing rtsol to psuedo interface.
PR: bin/21062
This commit is contained in:
parent
0de750cfc8
commit
dce3f9e7cd
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=65509
@ -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`
|
||||
|
@ -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`
|
||||
|
Loading…
Reference in New Issue
Block a user