diff options
Diffstat (limited to 'epan/dissectors/packet-logcat-text.c')
-rw-r--r-- | epan/dissectors/packet-logcat-text.c | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/epan/dissectors/packet-logcat-text.c b/epan/dissectors/packet-logcat-text.c index fb509e14d9..4eceb7ff79 100644 --- a/epan/dissectors/packet-logcat-text.c +++ b/epan/dissectors/packet-logcat-text.c @@ -12,7 +12,7 @@ #include "config.h" -#include <stdio.h> +#include <stdio.h> /* for sscanf() */ #include "epan/packet.h" #include "epan/expert.h" @@ -22,19 +22,19 @@ extern const value_string priority_vals[]; -static int proto_logcat_text = -1; +static int proto_logcat_text; -static int hf_logcat_text_pid = -1; -static int hf_logcat_text_tid = -1; -static int hf_logcat_text_timestamp = -1; -static int hf_logcat_text_priority = -1; -static int hf_logcat_text_tag = -1; -static int hf_logcat_text_log = -1; +static int hf_logcat_text_pid; +static int hf_logcat_text_tid; +static int hf_logcat_text_timestamp; +static int hf_logcat_text_priority; +static int hf_logcat_text_tag; +static int hf_logcat_text_log; -static gint ett_logcat = -1; +static gint ett_logcat; -static expert_field ei_malformed_time = EI_INIT; -static expert_field ei_malformed_token = EI_INIT; +static expert_field ei_malformed_time; +static expert_field ei_malformed_token; static dissector_handle_t logcat_text_brief_handle; static dissector_handle_t logcat_text_tag_handle; @@ -213,7 +213,7 @@ static void add_exported_pdu(tvbuff_t *tvb, packet_info *pinfo, const char * sub if (have_tap_listener(exported_pdu_tap)) { exp_pdu_data_t *exp_pdu_data; - exp_pdu_data = export_pdu_create_tags(pinfo, subdissector_name, EXP_PDU_TAG_PROTO_NAME, NULL); + exp_pdu_data = export_pdu_create_tags(pinfo, subdissector_name, EXP_PDU_TAG_DISSECTOR_NAME, NULL); exp_pdu_data->tvb_captured_length = tvb_captured_length(tvb); exp_pdu_data->tvb_reported_length = tvb_reported_length(tvb); @@ -325,12 +325,12 @@ void proto_register_logcat_text(void) { }, { &hf_logcat_text_tag, { "Tag", "logcat_text.tag", - FT_STRING, STR_UNICODE, NULL, 0x00, NULL, HFILL + FT_STRING, BASE_NONE, NULL, 0x00, NULL, HFILL } }, { &hf_logcat_text_log, { "Log", "logcat_text.log", - FT_STRING, STR_UNICODE, NULL, 0x00, NULL, HFILL + FT_STRING, BASE_NONE, NULL, 0x00, NULL, HFILL } }, { &hf_logcat_text_priority, |