diff options
author | Michael Mann <mmann78@netscape.net> | 2013-10-09 12:56:19 +0000 |
---|---|---|
committer | Michael Mann <mmann78@netscape.net> | 2013-10-09 12:56:19 +0000 |
commit | 9ccefb0ecd8cc95a24bed1223f70772444cd2a86 (patch) | |
tree | 7704b8b689cd40c12f88815bba25d54eb1b48179 /epan/expert.c | |
parent | a56818ad870811a3b5c7ad2197eeff35b860bd2c (diff) |
Prefix all "Wireshark application specific" display filters with a "_ws." to distinguish them from dissector filters.
This was committed now to get it into the 1.11 release so users can start getting used to the changed filter names.
svn path=/trunk/; revision=52462
Diffstat (limited to 'epan/expert.c')
-rw-r--r-- | epan/expert.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/epan/expert.c b/epan/expert.c index 611746c3de..972573f323 100644 --- a/epan/expert.c +++ b/epan/expert.c @@ -87,13 +87,13 @@ expert_packet_init(void) { static hf_register_info hf[] = { { &hf_expert_msg, - { "Message", "expert.message", FT_STRING, BASE_NONE, NULL, 0, "Wireshark expert information", HFILL } + { "Message", "_ws.expert.message", FT_STRING, BASE_NONE, NULL, 0, "Wireshark expert information", HFILL } }, { &hf_expert_group, - { "Group", "expert.group", FT_UINT32, BASE_HEX, VALS(expert_group_vals), 0, "Wireshark expert group", HFILL } + { "Group", "_ws.expert.group", FT_UINT32, BASE_HEX, VALS(expert_group_vals), 0, "Wireshark expert group", HFILL } }, { &hf_expert_severity, - { "Severity level", "expert.severity", FT_UINT32, BASE_HEX, VALS(expert_severity_vals), 0, "Wireshark expert severity level", HFILL } + { "Severity level", "_ws.expert.severity", FT_UINT32, BASE_HEX, VALS(expert_severity_vals), 0, "Wireshark expert severity level", HFILL } } }; static gint *ett[] = { @@ -106,7 +106,7 @@ expert_packet_init(void) } if (proto_expert == -1) { - proto_expert = proto_register_protocol("Expert Info", "Expert", "expert"); + proto_expert = proto_register_protocol("Expert Info", "Expert", "_ws.expert"); proto_register_field_array(proto_expert, hf, array_length(hf)); proto_register_subtree_array(ett, array_length(ett)); proto_set_cant_toggle(proto_expert); @@ -114,7 +114,7 @@ expert_packet_init(void) highest_severity = 0; - proto_malformed = proto_get_id_by_filter_name("malformed"); + proto_malformed = proto_get_id_by_filter_name("_ws.malformed"); } void |