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.26 (requested by itojun):



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

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

diffs (42 lines):

diff -r 3c154650da31 -r f56f88c19ec3 sys/netinet6/nd6_nbr.c
--- a/sys/netinet6/nd6_nbr.c    Wed May 09 19:42:43 2001 +0000
+++ b/sys/netinet6/nd6_nbr.c    Wed May 09 19:42:58 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: nd6_nbr.c,v 1.22.4.1 2001/04/06 00:29:03 he Exp $      */
+/*     $NetBSD: nd6_nbr.c,v 1.22.4.2 2001/05/09 19:42:58 he Exp $      */
 /*     $KAME: nd6_nbr.c,v 1.51 2001/01/20 17:27:00 itojun Exp $        */
 
 /*
@@ -105,8 +105,8 @@
        struct sockaddr_dl *proxydl = NULL;
 
        if (ip6->ip6_hlim != 255) {
-               log(LOG_ERR,
-                   "nd6_ns_input: invalid hlim %d\n", ip6->ip6_hlim);
+               nd6log((LOG_ERR,
+                   "nd6_ns_input: invalid hlim %d\n", ip6->ip6_hlim));
                goto freeit;
        }
 
@@ -119,8 +119,8 @@
                    && daddr6.s6_addr8[12] == 0xff) {
                        ; /*good*/
                } else {
-                       log(LOG_INFO, "nd6_ns_input: bad DAD packet "
-                               "(wrong ip6 dst)\n");
+                       nd6log((LOG_INFO, "nd6_ns_input: bad DAD packet "
+                               "(wrong ip6 dst)\n"));
                        goto bad;
                }
        }
@@ -539,8 +539,8 @@
        union nd_opts ndopts;
 
        if (ip6->ip6_hlim != 255) {
-               log(LOG_ERR,
-                   "nd6_na_input: invalid hlim %d\n", ip6->ip6_hlim);
+               nd6log((LOG_ERR,
+                   "nd6_na_input: invalid hlim %d\n", ip6->ip6_hlim));
                goto freeit;
        }
 



Home | Main Index | Thread Index | Old Index