From d830cea6b7993971a3d610afd485bb9e6499985a Mon Sep 17 00:00:00 2001 From: Hiroki Sato Date: Sun, 29 Jan 2012 08:33:34 +0000 Subject: [PATCH] Perform IPv6 DAD only in ifn_start. --- etc/rc.d/netif | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/etc/rc.d/netif b/etc/rc.d/netif index b584f1584096..284e30ac7d18 100755 --- a/etc/rc.d/netif +++ b/etc/rc.d/netif @@ -138,10 +138,12 @@ network_common() done # 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 1 - fi + ;; + esac _str= if [ -n "${_ok}" ]; then