summaryrefslogtreecommitdiff
path: root/epan/proto.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2000-11-16 07:35:43 +0000
committerGuy Harris <guy@alum.mit.edu>2000-11-16 07:35:43 +0000
commitee1b884ee9b7baa22ebf1a7e1363994124a0ff24 (patch)
tree1eaeec182ddb59258b1ee66e3a901ada60ee9f79 /epan/proto.h
parentf19c2e2defe72f740356a3df48a64f6e24918130 (diff)
downloadwireshark-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 'epan/proto.h')
-rw-r--r--epan/proto.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/proto.h b/epan/proto.h
index 2c388db283..b68f789dd8 100644
--- a/epan/proto.h
+++ b/epan/proto.h
@@ -1,7 +1,7 @@
/* proto.h
* Definitions for protocol display
*
- * $Id: proto.h,v 1.1 2000/09/27 04:54:52 gram Exp $
+ * $Id: proto.h,v 1.2 2000/11/16 07:35:42 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
@@ -68,7 +68,7 @@ struct value_string;
#define CHECK_DISPLAY_AS_DATA(index, tvb, pinfo, tree) { \
if (!proto_is_protocol_enabled(index)) { \
- dissect_data(tvb, pinfo, tree); \
+ dissect_data(tvb, 0, pinfo, tree); \
return; \
} \
}