Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Jan 2012 08:33:34 +0000 (UTC)
From:      Hiroki Sato <hrs@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r230726 - head/etc/rc.d
Message-ID:  <201201290833.q0T8XY7b099044@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201201290833.q0T8XY7b099044>