diff options
author | Guy Harris <guy@alum.mit.edu> | 2001-11-20 22:29:07 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2001-11-20 22:29:07 +0000 |
commit | 2f10c7f6304036dee28e5e3a0ad9af7db049903d (patch) | |
tree | 45212e011cc18df312b3fa15ff0ce394482acf81 /packet-isl.c | |
parent | e8d4f4f0ac7481c316b3e25a41b1cc747440220e (diff) | |
download | wireshark-2f10c7f6304036dee28e5e3a0ad9af7db049903d.tar.gz wireshark-2f10c7f6304036dee28e5e3a0ad9af7db049903d.tar.bz2 wireshark-2f10c7f6304036dee28e5e3a0ad9af7db049903d.zip |
Get rid of the "len" and "captured_len" members of the "packet_info"
structure; they're no longer used.
svn path=/trunk/; revision=4236
Diffstat (limited to 'packet-isl.c')
-rw-r--r-- | packet-isl.c | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/packet-isl.c b/packet-isl.c index 2c6a4d3957..71ea4c8067 100644 --- a/packet-isl.c +++ b/packet-isl.c @@ -1,7 +1,7 @@ /* packet-isl.c * Routines for Cisco ISL Ethernet header disassembly * - * $Id: packet-isl.c,v 1.26 2001/11/20 21:59:13 guy Exp $ + * $Id: packet-isl.c,v 1.27 2001/11/20 22:29:04 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -150,8 +150,6 @@ dissect_isl(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) gint crc_offset; gint captured_length; tvbuff_t *next_tvb; - const guint8 *compat_pd; - int compat_offset; if (check_col(pinfo->fd, COL_PROTOCOL)) col_set_str(pinfo->fd, COL_PROTOCOL, "ISL"); @@ -241,15 +239,6 @@ dissect_isl(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) next_tvb = tvb_new_subset(tvb, ISL_HEADER_SIZE, captured_length, length); - /* Set "pinfo"'s payload and captured-payload lengths to the values - we calculated. - - XXX - when all dissectors are tvbuffified we shouldn't have to - do this any more. */ - tvb_compat(next_tvb, &compat_pd, &compat_offset); - pinfo->len = compat_offset + length; - pinfo->captured_len = compat_offset + captured_length; - call_dissector(eth_handle, next_tvb, pinfo, tree); } } |