aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-mp2t.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-mp2t.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-mp2t.c')
-rw-r--r--epan/dissectors/packet-mp2t.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-mp2t.c b/epan/dissectors/packet-mp2t.c
index 13eac48c64..bad8e4866b 100644
--- a/epan/dissectors/packet-mp2t.c
+++ b/epan/dissectors/packet-mp2t.c
@@ -1538,11 +1538,11 @@ proto_register_mp2t(void)
void
proto_reg_handoff_mp2t(void)
{
- heur_dissector_add("udp", heur_dissect_mp2t, proto_mp2t);
+ heur_dissector_add("udp", heur_dissect_mp2t, "MP2T over UDP", "mp2t_udp", proto_mp2t);
dissector_add_uint("rtp.pt", PT_MP2T, mp2t_handle);
dissector_add_for_decode_as("udp.port", mp2t_handle);
- heur_dissector_add("usb.bulk", heur_dissect_mp2t, proto_mp2t);
+ heur_dissector_add("usb.bulk", heur_dissect_mp2t, "MP2T USB bulk endpoint", "mp2t_usb_bulk", proto_mp2t);
dissector_add_uint("wtap_encap", WTAP_ENCAP_MPEG_2_TS, mp2t_handle);
dissector_add_uint("l2tp.pw_type", L2TPv3_PROTOCOL_DOCSIS_DMPT, mp2t_handle);