aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-json.c
diff options
context:
space:
mode:
authorMichael Mann <mmann78@netscape.net>2015-07-11 17:33:26 -0400
committerMichael Mann <mmann78@netscape.net>2015-07-12 03:14:38 +0000
commitbe7d295fbf06788c7fec948cf8755c218ad7c32d (patch)
tree6ae35deb03e777b000683b94b928b774a4cd27b4 /epan/dissectors/packet-json.c
parent0caf0616ba53282cf4ef5587e13989a7aacc9588 (diff)
Add "user presentable" and "unique string ids" to heuristic table entries.
This allows better presentation of heuristic dissectors to the end user. Change-Id: I2ff3985ab914e83c2989880cc0c7b9904045b3f6 Reviewed-on: https://code.wireshark.org/review/9602 Petri-Dish: Michael Mann <mmann78@netscape.net> Reviewed-by: Michael Mann <mmann78@netscape.net>
Diffstat (limited to 'epan/dissectors/packet-json.c')
-rw-r--r--epan/dissectors/packet-json.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-json.c b/epan/dissectors/packet-json.c
index d17620a186..0e2b087119 100644
--- a/epan/dissectors/packet-json.c
+++ b/epan/dissectors/packet-json.c
@@ -646,8 +646,8 @@ proto_reg_handoff_json(void)
{
dissector_handle_t json_file_handle = new_create_dissector_handle(dissect_json_file, proto_json);
- heur_dissector_add("hpfeeds", dissect_json_heur, proto_json);
- heur_dissector_add("db-lsp", dissect_json_heur, proto_json);
+ heur_dissector_add("hpfeeds", dissect_json_heur, "JSON over HPFEEDS", "json_hpfeeds", proto_json);
+ heur_dissector_add("db-lsp", dissect_json_heur, "JSON over DB-LSP", "json_db_lsp", proto_json);
dissector_add_uint("wtap_encap", WTAP_ENCAP_JSON, json_file_handle);
dissector_add_string("media_type", "application/json", json_handle); /* RFC 4627 */