diff options
author | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2001-11-21 21:37:26 +0000 |
---|---|---|
committer | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2001-11-21 21:37:26 +0000 |
commit | 51ab25da1561ba3387e5d980cfc4501a8ac1fe0b (patch) | |
tree | 7de4277446513b58f5731ee8e63d1733368f117f /packet-ipv6.c | |
parent | c6c149df2cf4f307a3493913604b55c1d03cbaf3 (diff) |
If we have to worry about subdissectors changing the "packet_info"
structure, we may have to worry about it in more places than the places
that *used* to set "pi.len" and "pi.captured_len", so there's no point
in just saving and restoring it there. We'll remove those
saves/restores, and worry about saves and restores when we find a
problem.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@4245 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'packet-ipv6.c')
-rw-r--r-- | packet-ipv6.c | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/packet-ipv6.c b/packet-ipv6.c index 959ca45180..e7d67dab65 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.66 2001/11/20 22:29:04 guy Exp $ + * $Id: packet-ipv6.c,v 1.67 2001/11/21 21:37:25 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -653,8 +653,6 @@ dissect_ipv6(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) int offset; fragment_data *ipfd_head; tvbuff_t *next_tvb; - packet_info save_pi; - gboolean must_restore_pi = FALSE; gboolean update_col_info = TRUE; struct ip6_hdr ipv6; @@ -908,12 +906,6 @@ again: /* It's not fragmented. */ pinfo->fragmented = FALSE; - - /* 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; - must_restore_pi = TRUE; } else { /* We don't have the complete reassembled payload. */ next_tvb = NULL; |