aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnders Broman <anders.broman@ericsson.com>2019-09-03 15:41:34 +0200
committerAnders Broman <a.broman58@gmail.com>2019-09-03 14:06:24 +0000
commitdebdd826785fa16bbcc463602ba4931fcf4ffaef (patch)
treeb305dd5bc957faf8f99dd0be91661195bfad98ae
parent31756275cb8659fff02abf62c13ed6c741cb3893 (diff)
OSC: Set UDP heuristic default off as this is a niche protocol.
The heuristic is a bit expensive, set default off. Change-Id: Ib0cb863810a1cbcae2fef0b5a035c63682246a0f Reviewed-on: https://code.wireshark.org/review/34441 Petri-Dish: Anders Broman <a.broman58@gmail.com> Tested-by: Petri Dish Buildbot Reviewed-by: Anders Broman <a.broman58@gmail.com>
-rw-r--r--epan/dissectors/packet-osc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-osc.c b/epan/dissectors/packet-osc.c
index 00a22b96aa..66ae303968 100644
--- a/epan/dissectors/packet-osc.c
+++ b/epan/dissectors/packet-osc.c
@@ -1285,7 +1285,7 @@ proto_reg_handoff_osc(void)
/* (The UDP heuristic is a bit expensive */
osc_udp_handle = create_dissector_handle(dissect_osc_udp, proto_osc);
/* register as heuristic dissector for UDP connections */
- heur_dissector_add("udp", dissect_osc_heur_udp, "Open Sound Control over UDP", "osc_udp", proto_osc, HEURISTIC_ENABLE);
+ heur_dissector_add("udp", dissect_osc_heur_udp, "Open Sound Control over UDP", "osc_udp", proto_osc, HEURISTIC_DISABLE);
dissector_add_for_decode_as_with_preference("tcp.port", osc_tcp_handle);
}