diff options
Diffstat (limited to 'epan/proto.h')
-rw-r--r-- | epan/proto.h | 10 |
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); \ |