Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/netinet6 wrap "DAD start" message into #ifdef DIAGNOSTIC.
details: https://anonhg.NetBSD.org/src/rev/e0ccffd6e229
branches: trunk
changeset: 481402:e0ccffd6e229
user: itojun <itojun%NetBSD.org@localhost>
date: Fri Jan 28 07:21:29 2000 +0000
description:
wrap "DAD start" message into #ifdef DIAGNOSTIC.
From: thorpej, "Soren S. Jorvang" <soren%wheel.dk@localhost>
diffstat:
sys/netinet6/nd6_nbr.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (29 lines):
diff -r 1f15356a018c -r e0ccffd6e229 sys/netinet6/nd6_nbr.c
--- a/sys/netinet6/nd6_nbr.c Fri Jan 28 06:55:52 2000 +0000
+++ b/sys/netinet6/nd6_nbr.c Fri Jan 28 07:21:29 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: nd6_nbr.c,v 1.11 2000/01/06 15:46:11 itojun Exp $ */
+/* $NetBSD: nd6_nbr.c,v 1.12 2000/01/28 07:21:29 itojun Exp $ */
/*
* Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
@@ -915,9 +915,10 @@
bzero(dp, sizeof(*dp));
TAILQ_INSERT_TAIL(&dadq, (struct dadq *)dp, dad_list);
- /* XXXJRT This is probably a purely debugging message. */
+#ifdef DIAGNOSTIC
printf("%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.
@@ -1060,7 +1061,6 @@
*/
ia->ia6_flags &= ~IN6_IFF_TENTATIVE;
- /* 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));
Home |
Main Index |
Thread Index |
Old Index