diff options
author | Guy Harris <guy@alum.mit.edu> | 2001-11-15 10:58:51 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2001-11-15 10:58:51 +0000 |
commit | 4a5538085f12bd4ac0bf32742d1095bbe4ca0ab6 (patch) | |
tree | 6b901d4ee43f2ce7a163c3a3a064daec26068398 /packet-ipv6.c | |
parent | dc1ac349f9600ff39b79a0e8fcade093f3b58cca (diff) |
Get rid of NullTVB, the "compat_top_tvb" member of the "packet_info"
structure, the check for a null tvbuff pointer in "alloc_field_info()",
and the "tvb_create_from_top()" macro; they're no longer needed, as
there's no non-tvbuffified dissector code remaining.
svn path=/trunk/; revision=4205
Diffstat (limited to 'packet-ipv6.c')
-rw-r--r-- | packet-ipv6.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/packet-ipv6.c b/packet-ipv6.c index cd2c310d4a..103d3ff646 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.64 2001/10/26 18:28:16 gram Exp $ + * $Id: packet-ipv6.c,v 1.65 2001/11/15 10:58:48 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -912,7 +912,6 @@ again: /* Save the current value of "pi", and adjust certain fields to reflect the new tvbuff. */ save_pi = pi; - pi.compat_top_tvb = next_tvb; pi.len = tvb_reported_length(next_tvb); pi.captured_len = tvb_length(next_tvb); must_restore_pi = TRUE; |