From ce3d2ff3ded3eccb9d64c6cb46c64ad8f8a837b9 Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Fri, 20 Jun 2014 09:43:28 -0700 Subject: Rename dissector_add_handle() to dissector_add_for_decode_as(). Hopefully that name makes it clear what the routiner's purpose is, and will encourage people to use it rather than using dissector_add_uint() with a bogus integer value. Change-Id: Ic5be456d0ad40b176aab01712ab7b13aed5de2a8 Reviewed-on: https://code.wireshark.org/review/2483 Reviewed-by: Guy Harris --- epan/dissectors/packet-adb_cs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'epan/dissectors/packet-adb_cs.c') diff --git a/epan/dissectors/packet-adb_cs.c b/epan/dissectors/packet-adb_cs.c index 2ab768da35..fb0a5b6f26 100644 --- a/epan/dissectors/packet-adb_cs.c +++ b/epan/dissectors/packet-adb_cs.c @@ -1004,7 +1004,7 @@ proto_reg_handoff_adb_cs(void) logcat_handle = find_dissector("logcat"); data_handle = find_dissector("data"); - dissector_add_handle("tcp.port", adb_cs_handle); + dissector_add_for_decode_as("tcp.port", adb_cs_handle); } /* -- cgit v1.2.3