diff options
author | hrs <hrs@FreeBSD.org> | 2012-01-29 08:33:34 +0000 |
---|---|---|
committer | hrs <hrs@FreeBSD.org> | 2012-01-29 08:33:34 +0000 |
commit | 4fff32c8f827e9cddf31f3f183c15287100b8092 (patch) | |
tree | 2efcf37d444601124f76320c82475f7991de7a23 /etc/rc.d/netif | |
parent | fd8c7c7be370f704fc0d87ebdc8def63d4a7bcb8 (diff) | |
download | FreeBSD-src-4fff32c8f827e9cddf31f3f183c15287100b8092.zip FreeBSD-src-4fff32c8f827e9cddf31f3f183c15287100b8092.tar.gz |
Perform IPv6 DAD only in ifn_start.
Diffstat (limited to 'etc/rc.d/netif')
-rwxr-xr-x | etc/rc.d/netif | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/etc/rc.d/netif b/etc/rc.d/netif index b584f15..284e30a 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 |