aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-umts_fp.c
diff options
context:
space:
mode:
authorMichael Mann <mmann78@netscape.net>2016-03-16 09:02:52 -0400
committerMichael Mann <mmann78@netscape.net>2016-03-20 12:48:48 +0000
commit9bcac48403de9aff6435d0f48028ae1f72f64528 (patch)
tree16989d2207299572c970a79b6d4c4037fa975c55 /epan/dissectors/packet-umts_fp.c
parent6da50e2fde7b678cfbee922e3b12d588d75b6eef (diff)
Manually add protocol dependencies derived from find_dissector.
Started by grepping call_dissector_with_data, call_dissector_only and call_dissector and traced the handles passed into them to a find_dissector within the dissector. Then replaced find_dissector with find_dissector_add_dependency and added the protocol id from the dissector. "data" dissector was not considered to be a dependency. Change-Id: I15d0d77301306587ef8e7af5876e74231816890d Reviewed-on: https://code.wireshark.org/review/14509 Petri-Dish: Michael Mann <mmann78@netscape.net> Reviewed-by: Michael Mann <mmann78@netscape.net>
Diffstat (limited to 'epan/dissectors/packet-umts_fp.c')
-rw-r--r--epan/dissectors/packet-umts_fp.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/epan/dissectors/packet-umts_fp.c b/epan/dissectors/packet-umts_fp.c
index 93c8a89468..b1178865a0 100644
--- a/epan/dissectors/packet-umts_fp.c
+++ b/epan/dissectors/packet-umts_fp.c
@@ -5709,14 +5709,14 @@ void proto_reg_handoff_fp(void)
{
dissector_handle_t fp_aal2_handle;
- rlc_bcch_handle = find_dissector("rlc.bcch");
- mac_fdd_rach_handle = find_dissector("mac.fdd.rach");
- mac_fdd_fach_handle = find_dissector("mac.fdd.fach");
- mac_fdd_pch_handle = find_dissector("mac.fdd.pch");
- mac_fdd_dch_handle = find_dissector("mac.fdd.dch");
- mac_fdd_edch_handle = find_dissector("mac.fdd.edch");
- mac_fdd_edch_type2_handle = find_dissector("mac.fdd.edch.type2");
- mac_fdd_hsdsch_handle = find_dissector("mac.fdd.hsdsch");
+ rlc_bcch_handle = find_dissector_add_dependency("rlc.bcch", proto_fp);
+ mac_fdd_rach_handle = find_dissector_add_dependency("mac.fdd.rach", proto_fp);
+ mac_fdd_fach_handle = find_dissector_add_dependency("mac.fdd.fach", proto_fp);
+ mac_fdd_pch_handle = find_dissector_add_dependency("mac.fdd.pch", proto_fp);
+ mac_fdd_dch_handle = find_dissector_add_dependency("mac.fdd.dch", proto_fp);
+ mac_fdd_edch_handle = find_dissector_add_dependency("mac.fdd.edch", proto_fp);
+ mac_fdd_edch_type2_handle = find_dissector_add_dependency("mac.fdd.edch.type2", proto_fp);
+ mac_fdd_hsdsch_handle = find_dissector_add_dependency("mac.fdd.hsdsch", proto_fp);
heur_dissector_add("udp", heur_dissect_fp, "FP over UDP", "fp_udp", proto_fp, HEURISTIC_DISABLE);