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-gtp.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-gtp.c')
-rw-r--r-- | packet-gtp.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/packet-gtp.c b/packet-gtp.c index 3fffd2a9e9..e1c4f9d59d 100644 --- a/packet-gtp.c +++ b/packet-gtp.c @@ -4,7 +4,7 @@ * Copyright 2001, Michal Melerowicz <michal.melerowicz@nokia.com> * Nicolas Balkota <balkota@mac.com> * - * $Id: packet-gtp.c,v 1.13 2001/10/30 21:31:15 guy Exp $ + * $Id: packet-gtp.c,v 1.14 2001/11/15 10:58:48 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -3688,7 +3688,6 @@ decode_gtp_proto_conf(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree certain fields to reflect the new top-level tvbuff. */ save_pi = pi; - pi.compat_top_tvb = next_tvb; pi.len = tvb_reported_length(next_tvb); pi.captured_len = tvb_length(next_tvb); |