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-quake.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-quake.c')
-rw-r--r-- | packet-quake.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/packet-quake.c b/packet-quake.c index 39f5de363a..4389b5ff28 100644 --- a/packet-quake.c +++ b/packet-quake.c @@ -4,7 +4,7 @@ * Uwe Girlich <uwe@planetquake.com> * http://www.idsoftware.com/q1source/q1source.zip * - * $Id: packet-quake.c,v 1.7 2000/10/21 05:52:21 guy Exp $ + * $Id: packet-quake.c,v 1.8 2000/11/16 07:35:38 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@zing.org> @@ -499,7 +499,7 @@ dissect_quake_control(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) (next_tvb, pinfo, control_tree); break; default: - dissect_data(next_tvb, pinfo, control_tree); + dissect_data(next_tvb, 0, pinfo, control_tree); break; } } @@ -586,7 +586,7 @@ dissect_quake(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) rest_length = tvb_reported_length(tvb) - 8; next_tvb = tvb_new_subset(tvb, 8, rest_length , rest_length); - dissect_data(next_tvb, pinfo, quake_tree); + dissect_data(next_tvb, 0, pinfo, quake_tree); } void |