diff options
author | Guy Harris <guy@alum.mit.edu> | 2000-11-16 07:35:43 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2000-11-16 07:35:43 +0000 |
commit | ee1b884ee9b7baa22ebf1a7e1363994124a0ff24 (patch) | |
tree | 1eaeec182ddb59258b1ee66e3a901ada60ee9f79 /packet-atalk.c | |
parent | f19c2e2defe72f740356a3df48a64f6e24918130 (diff) | |
download | wireshark-ee1b884ee9b7baa22ebf1a7e1363994124a0ff24.tar.gz |
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
Diffstat (limited to 'packet-atalk.c')
-rw-r--r-- | packet-atalk.c | 4 |
1 files changed, 2 insertions, 2 deletions
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 <sxw@dcs.ed.ac.uk> * @@ -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 |