diff options
Diffstat (limited to 'epan/dissectors/packet-umts_fp.c')
-rw-r--r-- | epan/dissectors/packet-umts_fp.c | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/epan/dissectors/packet-umts_fp.c b/epan/dissectors/packet-umts_fp.c index ad185464c1..95e6329ce9 100644 --- a/epan/dissectors/packet-umts_fp.c +++ b/epan/dissectors/packet-umts_fp.c @@ -251,7 +251,6 @@ static gboolean preferences_call_mac_dissectors = TRUE; static gboolean preferences_show_release_info = TRUE; static gboolean preferences_payload_checksum = TRUE; static gboolean preferences_header_checksum = TRUE; -static gboolean preferences_udp_do_heur = FALSE; #define UMTS_FP_USE_UAT 1 @@ -3760,10 +3759,6 @@ heur_dissect_fp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data { struct fp_info *p_fp_info; - if (!preferences_udp_do_heur) { - return FALSE; - } - p_fp_info = (fp_info *)p_get_proto_data(wmem_file_scope(), pinfo, proto_fp, 0); /* if no FP info is present, this might be FP in a pcap(ng) file */ @@ -5609,10 +5604,7 @@ void proto_register_fp(void) "Validate FP header checksums", &preferences_header_checksum); /* Determines whether or not to validate FP header checksums */ - prefs_register_bool_preference(fp_module, "udp_heur", - "Enable UDP heur dissector", - "Enable UDP heur dissector", - &preferences_udp_do_heur); + prefs_register_obsolete_preference(fp_module, "udp_heur"); #ifdef UMTS_FP_USE_UAT umts_fp_uat = uat_new("Endpoint and Channel Configuration", @@ -5653,7 +5645,7 @@ void proto_reg_handoff_fp(void) mac_fdd_hsdsch_handle = find_dissector("mac.fdd.hsdsch"); fp_handle = find_dissector("fp"); - heur_dissector_add("udp", heur_dissect_fp, "FP over UDP", "fp_udp", proto_fp); + heur_dissector_add("udp", heur_dissect_fp, "FP over UDP", "fp_udp", proto_fp, HEURISTIC_DISABLE); dissector_add_uint("atm.aal2.type", TRAF_UMTS_FP, fp_handle); } |