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.20 (via patch, requeste...



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

description:
Pull up revision 1.20 (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_rtr.c |  14 +++++++-------
 1 files changed, 7 insertions(+), 7 deletions(-)

diffs (40 lines):

diff -r f56f88c19ec3 -r da2beeaab4fc sys/netinet6/nd6_rtr.c
--- a/sys/netinet6/nd6_rtr.c    Wed May 09 19:42:58 2001 +0000
+++ b/sys/netinet6/nd6_rtr.c    Wed May 09 19:43:17 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: nd6_rtr.c,v 1.17 2000/06/13 04:35:29 itojun Exp $      */
+/*     $NetBSD: nd6_rtr.c,v 1.17.2.1 2001/05/09 19:43:17 he Exp $      */
 /*     $KAME: nd6_rtr.c,v 1.40 2000/06/13 03:02:29 jinmei Exp $        */
 
 /*
@@ -119,8 +119,8 @@
 
        /* Sanity checks */
        if (ip6->ip6_hlim != 255) {
-               log(LOG_ERR,
-                   "nd6_rs_input: invalid hlim %d\n", ip6->ip6_hlim);
+               nd6log((LOG_ERR,
+                   "nd6_rs_input: invalid hlim %d\n", ip6->ip6_hlim));
                goto freeit;
        }
 
@@ -197,15 +197,15 @@
                goto freeit;
 
        if (ip6->ip6_hlim != 255) {
-               log(LOG_ERR,
-                   "nd6_ra_input: invalid hlim %d\n", ip6->ip6_hlim);
+               nd6log((LOG_ERR,
+                   "nd6_ra_input: invalid hlim %d\n", ip6->ip6_hlim));
                goto freeit;
        }
 
        if (!IN6_IS_ADDR_LINKLOCAL(&saddr6)) {
-               log(LOG_ERR,
+               nd6log((LOG_ERR,
                    "nd6_ra_input: src %s is not link-local\n",
-                   ip6_sprintf(&saddr6));
+                   ip6_sprintf(&saddr6)));
                goto freeit;
        }
 



Home | Main Index | Thread Index | Old Index