Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-1-5]: src/usr.sbin/tcpdump Pull up revision 1.12 (approved by rel...
details: https://anonhg.NetBSD.org/src/rev/b80229e30c47
branches: netbsd-1-5
changeset: 488555:b80229e30c47
user: enami <enami%NetBSD.org@localhost>
date: Mon Jul 17 23:15:23 2000 +0000
description:
Pull up revision 1.12 (approved by releng-1-5):
date: 2000/07/16 12:34:06; author: enami; state: Exp; lines: +3 -3
Fix a typo which causes coredump or wrong output when dumping NFS traffic.
diffstat:
usr.sbin/tcpdump/print-nfs.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r c55349e3359d -r b80229e30c47 usr.sbin/tcpdump/print-nfs.c
--- a/usr.sbin/tcpdump/print-nfs.c Mon Jul 17 22:47:56 2000 +0000
+++ b/usr.sbin/tcpdump/print-nfs.c Mon Jul 17 23:15:23 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: print-nfs.c,v 1.11 2000/06/10 05:27:27 itojun Exp $ */
+/* $NetBSD: print-nfs.c,v 1.11.2.1 2000/07/17 23:15:23 enami Exp $ */
/*
* Copyright (c) 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997
@@ -27,7 +27,7 @@
static const char rcsid[] =
"@(#) Header: print-nfs.c,v 1.65 97/08/17 13:24:22 leres Exp (LBL)";
#else
-__RCSID("$NetBSD: print-nfs.c,v 1.11 2000/06/10 05:27:27 itojun Exp $");
+__RCSID("$NetBSD: print-nfs.c,v 1.11.2.1 2000/07/17 23:15:23 enami Exp $");
#endif
#endif
@@ -828,7 +828,7 @@
int i;
struct xid_map_entry *xmep;
u_int32_t xid = rp->rm_xid;
- struct ip *ip = (struct ip *)ip;
+ struct ip *ip = (struct ip *)bp;
#ifdef INET6
struct ip6_hdr *ip6 = (struct ip6_hdr *)bp;
#endif
Home |
Main Index |
Thread Index |
Old Index