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 --- plugins/unistim/packet-unistim.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/unistim') diff --git a/plugins/unistim/packet-unistim.c b/plugins/unistim/packet-unistim.c index 435c3b4518..c4c1272858 100644 --- a/plugins/unistim/packet-unistim.c +++ b/plugins/unistim/packet-unistim.c @@ -4084,7 +4084,7 @@ proto_reg_handoff_unistim(void) { if (!initialized) { unistim_handle=new_create_dissector_handle(dissect_unistim,proto_unistim); - dissector_add_handle("udp.port", unistim_handle); /* for "decode as" */ + dissector_add_for_decode_as("udp.port", unistim_handle); initialized=TRUE; } else { if (unistim_port != 0) { -- cgit v1.2.1