svn commit: r230726 - head/etc/rc.d

Hiroki Sato hrs at FreeBSD.org
Sun Jan 29 08:33:35 UTC 2012


Author: hrs
Date: Sun Jan 29 08:33:34 2012
New Revision: 230726
URL: http://svn.freebsd.org/changeset/base/230726

Log:
  Perform IPv6 DAD only in ifn_start.

Modified:
  head/etc/rc.d/netif

Modified: head/etc/rc.d/netif
==============================================================================
--- head/etc/rc.d/netif	Sun Jan 29 08:03:45 2012	(r230725)
+++ head/etc/rc.d/netif	Sun Jan 29 08:33:34 2012	(r230726)
@@ -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


More information about the svn-src-all mailing list