diff options
author | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2000-11-16 07:35:43 +0000 |
---|---|---|
committer | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2000-11-16 07:35:43 +0000 |
commit | 510d1fca23a82e494ff4ea4358bed63bf2336afd (patch) | |
tree | 1eaeec182ddb59258b1ee66e3a901ada60ee9f79 /packet-v120.c | |
parent | 29a3d8f7c035ec7cc502e0107d6951ec2162d4f8 (diff) |
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.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@2651 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'packet-v120.c')
-rw-r--r-- | packet-v120.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packet-v120.c b/packet-v120.c index 6d38647502..41485ecde4 100644 --- a/packet-v120.c +++ b/packet-v120.c @@ -2,7 +2,7 @@ * Routines for v120 frame disassembly * Bert Driehuis <driehuis@playbeing.org> * - * $Id: packet-v120.c,v 1.12 2000/08/13 14:07:53 deniel Exp $ + * $Id: packet-v120.c,v 1.13 2000/11/16 07:35:38 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@zing.org> @@ -145,7 +145,7 @@ dissect_v120(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) v120len += dissect_v120_header(tvb, v120len, pinfo, v120_tree); proto_item_set_len(ti, v120len); next_tvb = tvb_new_subset(tvb, v120len, -1, -1); - dissect_data(next_tvb, pinfo, v120_tree); + dissect_data(next_tvb, 0, pinfo, v120_tree); } } |