aboutsummaryrefslogtreecommitdiffstats
path: root/epan/proto.h
diff options
context:
space:
mode:
authorEd Warnicke <hagbard@physics.rutgers.edu>2001-11-26 05:41:15 +0000
committerEd Warnicke <hagbard@physics.rutgers.edu>2001-11-26 05:41:15 +0000
commit89babba2232f716fce7e3f0080d0c60525350e82 (patch)
tree3518f3e52998c1626afade0ce58338dda8f43882 /epan/proto.h
parent4877553530fc356888edb95332b24eaeaadeee80 (diff)
This should be the final bit of removing the dissect_data symbol
from being required by anyone other than packet-data.c. It can now be accessed with call_dissector() with the name "data". dissect_data is now also of dissect_t. svn path=/trunk/; revision=4271
Diffstat (limited to 'epan/proto.h')
-rw-r--r--epan/proto.h10
1 files changed, 1 insertions, 9 deletions
diff --git a/epan/proto.h b/epan/proto.h
index 60699f413a..9e23889b29 100644
--- a/epan/proto.h
+++ b/epan/proto.h
@@ -1,7 +1,7 @@
/* proto.h
* Definitions for protocol display
*
- * $Id: proto.h,v 1.21 2001/11/26 05:13:14 hagbard Exp $
+ * $Id: proto.h,v 1.22 2001/11/26 05:41:13 hagbard Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -55,14 +55,6 @@ struct value_string;
#define TFS(x) (struct true_false_string*)(x)
/* check protocol activation */
-#define CHECK_DISPLAY_AS_DATA(index, tvb, pinfo, tree) { \
- if (!proto_is_protocol_enabled(index)) { \
- dissect_data(tvb, 0, pinfo, tree); \
- return; \
- } \
- }
-
-/* check protocol activation */
#define CHECK_DISPLAY_AS_X(x_handle,index, tvb, pinfo, tree) { \
if (!proto_is_protocol_enabled(index)) { \
call_dissector(x_handle,tvb, pinfo, tree); \