diff options
author | wmeier <wmeier@f5534014-38df-0310-8fa8-9805f1628bb7> | 2008-12-04 16:08:03 +0000 |
---|---|---|
committer | wmeier <wmeier@f5534014-38df-0310-8fa8-9805f1628bb7> | 2008-12-04 16:08:03 +0000 |
commit | 14bdd514cfa2c5115c8155ce44505282b0453225 (patch) | |
tree | 1529572b9f9cd6365b14d21926b67912e65cb574 /epan/dissectors/packet-mp2t.c | |
parent | a2e30f2cb293973e5e016c067c15ae553531af72 (diff) |
Use dissector_add_handle rather than registering to UDP port 0
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@26911 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-mp2t.c')
-rw-r--r-- | epan/dissectors/packet-mp2t.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-mp2t.c b/epan/dissectors/packet-mp2t.c index a5f0587090..f3b54205c9 100644 --- a/epan/dissectors/packet-mp2t.c +++ b/epan/dissectors/packet-mp2t.c @@ -663,7 +663,7 @@ proto_reg_handoff_mp2t(void) mp2t_handle = create_dissector_handle(dissect_mp2t, proto_mp2t); dissector_add("rtp.pt", PT_MP2T, mp2t_handle); - dissector_add("udp.port", 0, mp2t_handle); + dissector_add_handle("udp.port", mp2t_handle); /* for decode-as */ pes_handle = find_dissector("mpeg-pes"); } |