summaryrefslogtreecommitdiff
path: root/sys/netinet6/nd6_nbr.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1999-12-08 12:13:38 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1999-12-08 12:13:38 +0000
commit1ac9e7117bdf13d724d7b263961d4c3182823591 (patch)
treebcf295b5e866426e8b1be72152df5b208c28a160 /sys/netinet6/nd6_nbr.c
parentc6e95e6e00764727a45b914079cd34ad969b0a95 (diff)
silence non-duplicate DAD completion messages
Diffstat (limited to 'sys/netinet6/nd6_nbr.c')
-rw-r--r--sys/netinet6/nd6_nbr.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/netinet6/nd6_nbr.c b/sys/netinet6/nd6_nbr.c
index 274a7d63c1c..27019876a4b 100644
--- a/sys/netinet6/nd6_nbr.c
+++ b/sys/netinet6/nd6_nbr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: nd6_nbr.c,v 1.1 1999/12/08 06:50:23 itojun Exp $ */
+/* $OpenBSD: nd6_nbr.c,v 1.2 1999/12/08 12:13:37 deraadt Exp $ */
/*
* Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
@@ -1108,10 +1108,12 @@ nd6_dad_timer(ifa)
*/
ia->ia6_flags &= ~IN6_IFF_TENTATIVE;
+#ifdef DEBUG
/* XXXJRT This is probably a purely debugging message */
printf("%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);