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-clnp.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-clnp.c')
-rw-r--r-- | packet-clnp.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/packet-clnp.c b/packet-clnp.c index 28857acf99..25c7a8ced6 100644 --- a/packet-clnp.c +++ b/packet-clnp.c @@ -1,7 +1,7 @@ /* packet-clnp.c * Routines for ISO/OSI network and transport protocol packet disassembly * - * $Id: packet-clnp.c,v 1.36 2001/11/09 02:04:35 guy Exp $ + * $Id: packet-clnp.c,v 1.37 2001/11/15 10:58:48 guy Exp $ * Laurent Deniel <deniel@worldnet.fr> * Ralf Schneider <Ralf.Schneider@t-online.de> * @@ -1936,7 +1936,6 @@ static void dissect_clnp(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; |