Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-1-5]: src/sys/netinet6 Pull up revision 1.17 (via patch, requeste...



details:   https://anonhg.NetBSD.org/src/rev/3c154650da31
branches:  netbsd-1-5
changeset: 491704:3c154650da31
user:      he <he%NetBSD.org@localhost>
date:      Wed May 09 19:42:43 2001 +0000

description:
Pull up revision 1.17 (via patch, requested by itojun):
  Suppress ND6 logs that are too noisy for normal use.  Can be
  re-enabled by net.inet6.icmp6.nd6_debug.

diffstat:

 sys/netinet6/nd6.h |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r e8d3dbe2c11a -r 3c154650da31 sys/netinet6/nd6.h
--- a/sys/netinet6/nd6.h        Wed May 09 19:42:27 2001 +0000
+++ b/sys/netinet6/nd6.h        Wed May 09 19:42:43 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: nd6.h,v 1.14.4.1 2000/07/20 00:07:05 itojun Exp $      */
+/*     $NetBSD: nd6.h,v 1.14.4.2 2001/05/09 19:42:43 he Exp $  */
 /*     $KAME: nd6.h,v 1.23 2000/06/04 12:54:57 itojun Exp $    */
 
 /*
@@ -237,6 +237,9 @@
 extern struct nd_ifinfo *nd_ifinfo;
 extern struct nd_drhead nd_defrouter;
 extern struct nd_prhead nd_prefix;
+extern int nd6_debug;
+
+#define nd6log(x)      do { if (nd6_debug) log x; } while (0)
 
 extern struct callout nd6_timer_ch;
 



Home | Main Index | Thread Index | Old Index