From 2eb7b05b8c9c6408268f0d1e81f0a18a02610f1c Mon Sep 17 00:00:00 2001 From: Michael Mann Date: Wed, 5 Oct 2016 16:33:54 -0400 Subject: Convert most UDP dissectors to use "auto" preferences. Similar to the "tcp.port" changes in I99604f95d426ad345f4b494598d94178b886eb67, convert dissectors that use "udp.port". More cleanup done on dissectors that use both TCP and UDP dissector tables, so that less preference callbacks exist. Change-Id: If07be9b9e850c244336a7069599cd554ce312dd3 Reviewed-on: https://code.wireshark.org/review/18120 Petri-Dish: Michael Mann Tested-by: Petri Dish Buildbot Reviewed-by: Michael Mann --- epan/dissectors/packet-skype.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'epan/dissectors/packet-skype.c') diff --git a/epan/dissectors/packet-skype.c b/epan/dissectors/packet-skype.c index 68feb56063..4139af46d5 100644 --- a/epan/dissectors/packet-skype.c +++ b/epan/dissectors/packet-skype.c @@ -445,7 +445,7 @@ proto_reg_handoff_skype(void) skype_handle = create_dissector_handle(dissect_skype_static, proto_skype); dissector_add_for_decode_as_with_preference("tcp.port", skype_handle); - dissector_add_for_decode_as("udp.port", skype_handle); + dissector_add_for_decode_as_with_preference("udp.port", skype_handle); heur_dissector_add("tcp", dissect_skype_heur, "Skype over TCP", "skype_tcp", proto_skype, HEURISTIC_DISABLE); heur_dissector_add("udp", dissect_skype_heur, "Skype over UDP", "skype_udp", proto_skype, HEURISTIC_DISABLE); -- cgit v1.2.3