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-wcp.c | |
parent | e8d4f4f0ac7481c316b3e25a41b1cc747440220e (diff) |
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-wcp.c')
-rw-r--r-- | packet-wcp.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/packet-wcp.c b/packet-wcp.c index f2a5bcef01..a06b898b78 100644 --- a/packet-wcp.c +++ b/packet-wcp.c @@ -2,7 +2,7 @@ * Routines for Wellfleet Compression frame disassembly * Copyright 2001, Jeffrey C. Foster <jfoste@woodward.com> * - * $Id: packet-wcp.c,v 1.12 2001/11/15 10:58:49 guy Exp $ + * $Id: packet-wcp.c,v 1.13 2001/11/20 22:29:04 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -396,11 +396,10 @@ void dissect_wcp( tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) { return; } - /* Save the current value of "pi", and adjust certain fields to - reflect the new tvbuff. */ + /* XXX - is this still necessary? Do we have to worry + about subdissectors changing "pi", or, given that + we're no longer doing so, is that no longer an issue? */ save_pi = pi; - pi.len = tvb_reported_length(next_tvb); - pi.captured_len = tvb_length(next_tvb); must_restore_pi = TRUE; } |