aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-mp2t.c
diff options
context:
space:
mode:
authorDominic Chen <d.c.ddcc@gmail.com>2016-04-26 17:22:18 -0400
committerAnders Broman <a.broman58@gmail.com>2016-04-27 07:45:52 +0000
commit5b655d01ff3148b7f2cdc0d0271ac6457e2ea60d (patch)
tree2733c9723c1ec3fac2b3049eba68db97aa64d1e2 /epan/dissectors/packet-mp2t.c
parentf90882fa2fac5d81aacc99e7f7fc5eb57409d093 (diff)
mp2t: support forced tcp decoding
Change-Id: I82a2908f513bff2f6452abffeb818e1f943fc67c Reviewed-on: https://code.wireshark.org/review/15124 Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'epan/dissectors/packet-mp2t.c')
-rw-r--r--epan/dissectors/packet-mp2t.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/epan/dissectors/packet-mp2t.c b/epan/dissectors/packet-mp2t.c
index a03be52cc9..b4e0ff79b7 100644
--- a/epan/dissectors/packet-mp2t.c
+++ b/epan/dissectors/packet-mp2t.c
@@ -1554,6 +1554,7 @@ proto_reg_handoff_mp2t(void)
heur_dissector_add("udp", heur_dissect_mp2t, "MP2T over UDP", "mp2t_udp", proto_mp2t, HEURISTIC_ENABLE);
dissector_add_uint("rtp.pt", PT_MP2T, mp2t_handle);
+ dissector_add_for_decode_as("tcp.port", mp2t_handle);
dissector_add_for_decode_as("udp.port", mp2t_handle);
heur_dissector_add("usb.bulk", heur_dissect_mp2t, "MP2T USB bulk endpoint", "mp2t_usb_bulk", proto_mp2t, HEURISTIC_ENABLE);
dissector_add_uint("wtap_encap", WTAP_ENCAP_MPEG_2_TS, mp2t_handle);