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-tcp.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-tcp.c')
-rw-r--r-- | packet-tcp.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/packet-tcp.c b/packet-tcp.c index 6bcfd9b7e4..85cf2d3356 100644 --- a/packet-tcp.c +++ b/packet-tcp.c @@ -1,7 +1,7 @@ /* packet-tcp.c * Routines for TCP packet disassembly * - * $Id: packet-tcp.c,v 1.114 2001/11/15 10:58:48 guy Exp $ + * $Id: packet-tcp.c,v 1.115 2001/11/20 22:29:04 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -392,11 +392,11 @@ desegment_tcp(tvbuff_t *tvb, packet_info *pinfo, int offset, /* indicate that this is reassembled data */ tcpinfo->is_reassembled = TRUE; - /* save current value of *pinfo across call to - dissector */ + /* XXX - is this still necessary? Do we have to + worry about subdissectors changing "*pinfo", or, + given that we're no longer doing so, is that no + longer an issue? */ save_pi = *pinfo; - pinfo->len = tvb_reported_length(next_tvb); - pinfo->captured_len = tvb_length(next_tvb); /* call subdissector */ decode_tcp_ports(next_tvb, 0, pinfo, tree, |