Source-Changes-HG archive

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

[src/trunk]: src/usr.sbin/tcpdump remove too many \n for icmp6 too big



details:   https://anonhg.NetBSD.org/src/rev/880ff5786651
branches:  trunk
changeset: 510298:880ff5786651
user:      itojun <itojun%NetBSD.org@localhost>
date:      Sat May 26 12:31:56 2001 +0000

description:
remove too many \n for icmp6 too big

diffstat:

 usr.sbin/tcpdump/print-icmp6.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r d149bca32028 -r 880ff5786651 usr.sbin/tcpdump/print-icmp6.c
--- a/usr.sbin/tcpdump/print-icmp6.c    Sat May 26 10:22:32 2001 +0000
+++ b/usr.sbin/tcpdump/print-icmp6.c    Sat May 26 12:31:56 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: print-icmp6.c,v 1.11 2001/02/19 09:53:50 enami Exp $   */
+/*     $NetBSD: print-icmp6.c,v 1.12 2001/05/26 12:31:56 itojun Exp $  */
 
 /*
  * Copyright (c) 1988, 1989, 1990, 1991, 1993, 1994
@@ -27,7 +27,7 @@
     "@(#) /master/usr.sbin/tcpdump/tcpdump/print-icmp.c,v 2.1 1995/02/03 18:14:42 polk Exp (LBL)";
 #else
 #include <sys/cdefs.h>
-__RCSID("$NetBSD: print-icmp6.c,v 1.11 2001/02/19 09:53:50 enami Exp $");
+__RCSID("$NetBSD: print-icmp6.c,v 1.12 2001/05/26 12:31:56 itojun Exp $");
 #endif
 #endif
 
@@ -172,7 +172,7 @@
                break;
        case ICMP6_PACKET_TOO_BIG:
                TCHECK(dp->icmp6_mtu);
-               printf("icmp6: too big %u\n", (u_int32_t)ntohl(dp->icmp6_mtu));
+               printf("icmp6: too big %u", (u_int32_t)ntohl(dp->icmp6_mtu));
                break;
        case ICMP6_TIME_EXCEEDED:
                TCHECK(oip->ip6_dst);



Home | Main Index | Thread Index | Old Index