Source-Changes-HG archive

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

[src/trunk]: src/sys/netinet6 remove bogus DIAGNOSTIC. sync with kame



details:   https://anonhg.NetBSD.org/src/rev/d9e30c274525
branches:  trunk
changeset: 503479:d9e30c274525
user:      itojun <itojun%NetBSD.org@localhost>
date:      Wed Feb 07 10:56:38 2001 +0000

description:
remove bogus DIAGNOSTIC.  sync with kame

diffstat:

 sys/netinet6/icmp6.c |  8 +-------
 1 files changed, 1 insertions(+), 7 deletions(-)

diffs (29 lines):

diff -r c11ca4d1b6fc -r d9e30c274525 sys/netinet6/icmp6.c
--- a/sys/netinet6/icmp6.c      Wed Feb 07 10:38:02 2001 +0000
+++ b/sys/netinet6/icmp6.c      Wed Feb 07 10:56:38 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: icmp6.c,v 1.53 2001/02/07 08:59:48 itojun Exp $        */
+/*     $NetBSD: icmp6.c,v 1.54 2001/02/07 10:56:38 itojun Exp $        */
 /*     $KAME: icmp6.c,v 1.191 2001/02/07 08:07:38 itojun Exp $ */
 
 /*
@@ -559,9 +559,6 @@
                         * always copy the length we specified.
                         */
                        if (maxlen >= MCLBYTES) {
-#ifdef DIAGNOSTIC
-                               printf("MCLBYTES too small\n");
-#endif
                                /* Give up remote */
                                m_freem(n0);
                                break;
@@ -680,9 +677,6 @@
                                goto badcode;
                        maxlen = sizeof(*nip6) + sizeof(*nicmp6) + 4;
                        if (maxlen >= MCLBYTES) {
-#ifdef DIAGNOSTIC
-                               printf("MCLBYTES too small\n");
-#endif
                                /* Give up remote */
                                break;
                        }



Home | Main Index | Thread Index | Old Index