]> The Tcpdump Group git mirrors - tcpdump/commitdiff
typo in pointer assignment. from netbsd-current.
authoritojun <itojun>
Sun, 16 Jul 2000 14:32:48 +0000 (14:32 +0000)
committeritojun <itojun>
Sun, 16 Jul 2000 14:32:48 +0000 (14:32 +0000)
print-nfs.c

index a6b88715ff7dc599f2d6a7d5e414781926303288..0dbc5564a70356fe9fcd08f0ec815579cff2dbab 100644 (file)
@@ -21,7 +21,7 @@
 
 #ifndef lint
 static const char rcsid[] =
-    "@(#) $Header: /tcpdump/master/tcpdump/print-nfs.c,v 1.78 2000-07-01 03:39:06 assar Exp $ (LBL)";
+    "@(#) $Header: /tcpdump/master/tcpdump/print-nfs.c,v 1.79 2000-07-16 14:32:48 itojun Exp $ (LBL)";
 #endif
 
 #ifdef HAVE_CONFIG_H
@@ -826,7 +826,7 @@ xid_map_find(const struct rpc_msg *rp, const u_char *bp, u_int32_t *proc,
        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