1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-05 12:56:08 +00:00

Perform IPv6 DAD only in ifn_start.

This commit is contained in:
Hiroki Sato 2012-01-29 08:33:34 +00:00
parent ad69d4e266
commit d830cea6b7
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=230726

View File

@ -138,10 +138,12 @@ network_common()
done done
# inet6 address configuration needs sleep for DAD. # inet6 address configuration needs sleep for DAD.
if [ -n "${_dadwait}" ]; then case ${_func}:${_dadwait} in
ifn_start:1)
sleep `${SYSCTL_N} net.inet6.ip6.dad_count` sleep `${SYSCTL_N} net.inet6.ip6.dad_count`
sleep 1 sleep 1
fi ;;
esac
_str= _str=
if [ -n "${_ok}" ]; then if [ -n "${_ok}" ]; then