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
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to