From ee1b884ee9b7baa22ebf1a7e1363994124a0ff24 Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Thu, 16 Nov 2000 07:35:43 +0000 Subject: Tvbuffify the STP dissector, have it register itself and have the LLC dissector call it through a handle, and make it static. Give "dissect_data()" an "offset" argument, so dissectors can use it to dissect part of the packet without having to cook up a new tvbuff. Go back to using "dissect_data()" to dissect the data in an IPP request. svn path=/trunk/; revision=2651 --- packet-atalk.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'packet-atalk.c') diff --git a/packet-atalk.c b/packet-atalk.c index 6eb0587fc6..5e70302e75 100644 --- a/packet-atalk.c +++ b/packet-atalk.c @@ -1,7 +1,7 @@ /* packet-atalk.c * Routines for Appletalk packet disassembly (DDP, currently). * - * $Id: packet-atalk.c,v 1.43 2000/11/13 08:57:57 guy Exp $ + * $Id: packet-atalk.c,v 1.44 2000/11/16 07:35:37 guy Exp $ * * Simon Wilkinson * @@ -440,7 +440,7 @@ dissect_ddp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) { new_tvb = tvb_new_subset(tvb, DDP_HEADER_SIZE, -1, -1); if (!dissector_try_port(ddp_dissector_table, ddp.type, new_tvb, pinfo, tree)) - dissect_data(new_tvb, pinfo, tree); + dissect_data(new_tvb, 0, pinfo, tree); } void -- cgit v1.2.1