Quiet down the DAD messages a little more.

This commit is contained in:
thorpej 2000-03-16 02:53:45 +00:00
parent 3b51289caa
commit 2ac45d6eef
1 changed files with 6 additions and 2 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: nd6_nbr.c,v 1.18 2000/03/01 12:49:49 itojun Exp $ */
/* $NetBSD: nd6_nbr.c,v 1.19 2000/03/16 02:53:45 thorpej Exp $ */
/* $KAME: nd6_nbr.c,v 1.28 2000/02/26 06:53:11 itojun Exp $ */
/*
@ -1018,8 +1018,10 @@ nd6_dad_start(ifa, tick)
bzero(dp, sizeof(*dp));
TAILQ_INSERT_TAIL(&dadq, (struct dadq *)dp, dad_list);
#ifdef ND6_DEBUG
log(LOG_DEBUG, "%s: starting DAD for %s\n", if_name(ifa->ifa_ifp),
ip6_sprintf(&ia->ia_addr.sin6_addr));
#endif
/*
* Send NS packet for DAD, ip6_dad_count times.
@ -1162,10 +1164,12 @@ nd6_dad_timer(ifa)
*/
ia->ia6_flags &= ~IN6_IFF_TENTATIVE;
log(LOG_INFO,
#ifdef ND6_DEBUG
log(LOG_DEBUG,
"%s: DAD complete for %s - no duplicates found\n",
if_name(ifa->ifa_ifp),
ip6_sprintf(&ia->ia_addr.sin6_addr));
#endif
TAILQ_REMOVE(&dadq, (struct dadq *)dp, dad_list);
free(dp, M_IP6NDP);