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-h245.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'epan/dissectors/packet-h245.c') diff --git a/epan/dissectors/packet-h245.c b/epan/dissectors/packet-h245.c index 791523f9f3..809414fb46 100644 --- a/epan/dissectors/packet-h245.c +++ b/epan/dissectors/packet-h245.c @@ -20832,7 +20832,7 @@ void proto_reg_handoff_h245(void) { dissector_add_for_decode_as_with_preference("tcp.port", h245_handle); - dissector_add_for_decode_as("udp.port", MultimediaSystemControlMessage_handle); + dissector_add_for_decode_as_with_preference("udp.port", MultimediaSystemControlMessage_handle); } static void init_h245_packet_info(h245_packet_info *pi) -- cgit v1.2.3