Source-Changes-HG archive

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

[src/netbsd-1-4]: src/usr.sbin/tcpdump pullup 1.7->1.8 (sommerfeld)



details:   https://anonhg.NetBSD.org/src/rev/214ba9b3aa55
branches:  netbsd-1-4
changeset: 468560:214ba9b3aa55
user:      perry <perry%NetBSD.org@localhost>
date:      Thu Apr 29 21:37:19 1999 +0000

description:
pullup 1.7->1.8 (sommerfeld)

diffstat:

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

diffs (27 lines):

diff -r d0513f293d67 -r 214ba9b3aa55 usr.sbin/tcpdump/print-udp.c
--- a/usr.sbin/tcpdump/print-udp.c      Thu Apr 29 21:09:40 1999 +0000
+++ b/usr.sbin/tcpdump/print-udp.c      Thu Apr 29 21:37:19 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: print-udp.c,v 1.7 1998/12/18 20:28:54 sommerfe Exp $   */
+/*     $NetBSD: print-udp.c,v 1.7.2.1 1999/04/29 21:37:19 perry Exp $  */
 
 /*
  * Copyright (c) 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997
@@ -27,7 +27,7 @@
 static const char rcsid[] =
     "@(#) Header: print-udp.c,v 1.60 97/07/27 21:58:48 leres Exp  (LBL)";
 #else
-__RCSID("$NetBSD: print-udp.c,v 1.7 1998/12/18 20:28:54 sommerfe Exp $");
+__RCSID("$NetBSD: print-udp.c,v 1.7.2.1 1999/04/29 21:37:19 perry Exp $");
 #endif
 #endif
 
@@ -470,7 +470,7 @@
                int sum = up->uh_sum;
                if (sum == 0) {
                        (void)printf(" [no cksum]");
-               } else if (TTEST2(up->uh_sport, length)) {
+               } else if (TTEST2(cp[0], length)) {
                        sum = udp_cksum(ip, up, length);
                        if (sum != 0)
                                (void)printf(" [bad udp cksum %x!]", sum);



Home | Main Index | Thread Index | Old Index