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-ip.c | |
parent | dc1ac349f9600ff39b79a0e8fcade093f3b58cca (diff) | |
download | wireshark-4a5538085f12bd4ac0bf32742d1095bbe4ca0ab6.tar.gz wireshark-4a5538085f12bd4ac0bf32742d1095bbe4ca0ab6.tar.bz2 wireshark-4a5538085f12bd4ac0bf32742d1095bbe4ca0ab6.zip |
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-ip.c')
-rw-r--r-- | packet-ip.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/packet-ip.c b/packet-ip.c index ee4e530a44..1c7c48db15 100644 --- a/packet-ip.c +++ b/packet-ip.c @@ -1,7 +1,7 @@ /* packet-ip.c * Routines for IP and miscellaneous IP protocol packet disassembly * - * $Id: packet-ip.c,v 1.143 2001/10/31 22:03:53 guy Exp $ + * $Id: packet-ip.c,v 1.144 2001/11/15 10:58:48 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -1074,7 +1074,6 @@ dissect_ip(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) /* 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; |