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-ipv6.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-ipv6.c')
-rw-r--r-- | packet-ipv6.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/packet-ipv6.c b/packet-ipv6.c index 103d3ff646..959ca45180 100644 --- a/packet-ipv6.c +++ b/packet-ipv6.c @@ -1,7 +1,7 @@ /* packet-ipv6.c * Routines for IPv6 packet disassembly * - * $Id: packet-ipv6.c,v 1.65 2001/11/15 10:58:48 guy Exp $ + * $Id: packet-ipv6.c,v 1.66 2001/11/20 22:29:04 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -909,11 +909,10 @@ again: /* It's not fragmented. */ pinfo->fragmented = FALSE; - /* 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; } else { /* We don't have the complete reassembled payload. */ |