aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/file-png.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/file-png.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/file-png.c')
-rw-r--r--epan/dissectors/file-png.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/file-png.c b/epan/dissectors/file-png.c
index fb3112043c..32a6da7711 100644
--- a/epan/dissectors/file-png.c
+++ b/epan/dissectors/file-png.c
@@ -614,8 +614,8 @@ void
proto_reg_handoff_png(void)
{
dissector_add_string("media_type", "image/png", png_handle);
- heur_dissector_add("http", dissect_png_heur, hfi_png->id);
- heur_dissector_add("wtap_file", dissect_png_heur, hfi_png->id);
+ heur_dissector_add("http", dissect_png_heur, "PNG file in HTTP", "png_http", hfi_png->id);
+ heur_dissector_add("wtap_file", dissect_png_heur, "PNG file in HTTP", "png_wtap", hfi_png->id);
}
/*