diff options
author | Guy Harris <guy@alum.mit.edu> | 2001-11-20 21:59:18 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2001-11-20 21:59:18 +0000 |
commit | e8d4f4f0ac7481c316b3e25a41b1cc747440220e (patch) | |
tree | ae3c72a5204d6498a7f2957738be88615f89a115 /packet-vines.c | |
parent | 62490b8fdb16d066581c40405cb0d8484248fb09 (diff) | |
download | wireshark-e8d4f4f0ac7481c316b3e25a41b1cc747440220e.tar.gz wireshark-e8d4f4f0ac7481c316b3e25a41b1cc747440220e.tar.bz2 wireshark-e8d4f4f0ac7481c316b3e25a41b1cc747440220e.zip |
Make the capture routines take an additional argument giving the amount
of packet data captured.
Make the "BYTES_ARE_IN_FRAME()" macro take a "captured length of the
packet" argument.
Add some length checks to capture routines.
svn path=/trunk/; revision=4235
Diffstat (limited to 'packet-vines.c')
-rw-r--r-- | packet-vines.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/packet-vines.c b/packet-vines.c index 8ab47fc37a..8680107718 100644 --- a/packet-vines.c +++ b/packet-vines.c @@ -1,7 +1,7 @@ /* packet-vines.c * Routines for Banyan VINES protocol packet disassembly * - * $Id: packet-vines.c,v 1.33 2001/06/18 02:17:53 guy Exp $ + * $Id: packet-vines.c,v 1.34 2001/11/20 21:59:13 guy Exp $ * * Don Lafontaine <lafont02@cn.ca> * @@ -9,7 +9,6 @@ * By Gerald Combs <gerald@ethereal.com> * Copyright 1998 Gerald Combs * Joerg Mayer <jmayer@loplof.de> - * * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License @@ -72,7 +71,7 @@ static void dissect_vines_spp(tvbuff_t *, packet_info *, proto_tree *); static void dissect_vines(tvbuff_t *, packet_info *, proto_tree *); void -capture_vines(const u_char *pd, int offset, packet_counts *ld) +capture_vines(const u_char *pd, int offset, int len, packet_counts *ld) { ld->vines++; } |