aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-mp2t.c
diff options
context:
space:
mode:
authorMichael Mann <mmann78@netscape.net>2015-04-02 23:11:51 -0400
committerAnders Broman <a.broman58@gmail.com>2015-06-25 16:42:28 +0000
commit74e526f1965d8bfd573105e06986e41e97c1d781 (patch)
tree8e77b744f290ee1eabb56ce7fed1e8e826c22b31 /epan/dissectors/packet-mp2t.c
parentacc581081e84c93e878a678fbb3655aba253607a (diff)
Add proper "Decode As" mechanism for L2TPv3 subdissectors instead of preference.
Change-Id: I87f6f9f40e1c33148de43b53a8881d51416f5d2c Reviewed-on: https://code.wireshark.org/review/7898 Reviewed-by: Michael Mann <mmann78@netscape.net> Petri-Dish: Michael Mann <mmann78@netscape.net> Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'epan/dissectors/packet-mp2t.c')
-rw-r--r--epan/dissectors/packet-mp2t.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/epan/dissectors/packet-mp2t.c b/epan/dissectors/packet-mp2t.c
index b8a5c8ba86..9f423418aa 100644
--- a/epan/dissectors/packet-mp2t.c
+++ b/epan/dissectors/packet-mp2t.c
@@ -35,6 +35,7 @@
#include <epan/expert.h>
#include <epan/reassemble.h>
#include <epan/address_types.h>
+#include "packet-l2tp.h"
#include <epan/tvbuff-int.h> /* XXX, for tvb_new_proxy() */
@@ -1537,6 +1538,7 @@ proto_reg_handoff_mp2t(void)
dissector_add_for_decode_as("udp.port", mp2t_handle);
heur_dissector_add("usb.bulk", heur_dissect_mp2t, 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);
docsis_handle = find_dissector("docsis");
mpeg_pes_handle = find_dissector("mpeg-pes");