aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/wimaxmacphy
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2014-06-20 09:43:28 -0700
committerGuy Harris <guy@alum.mit.edu>2014-06-20 16:43:56 +0000
commitce3d2ff3ded3eccb9d64c6cb46c64ad8f8a837b9 (patch)
tree8a4ddc4ec1607716254ada75c607094da614f131 /plugins/wimaxmacphy
parent4df6b5178496422ddfc3b9256af763b847d1a2c7 (diff)
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 <guy@alum.mit.edu>
Diffstat (limited to 'plugins/wimaxmacphy')
-rw-r--r--plugins/wimaxmacphy/packet-wimaxmacphy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/wimaxmacphy/packet-wimaxmacphy.c b/plugins/wimaxmacphy/packet-wimaxmacphy.c
index 9370d1e265..7c35cf4b9e 100644
--- a/plugins/wimaxmacphy/packet-wimaxmacphy.c
+++ b/plugins/wimaxmacphy/packet-wimaxmacphy.c
@@ -5502,7 +5502,7 @@ proto_reg_handoff_wimaxmacphy(void)
if (!inited) {
wimaxmacphy_handle = new_create_dissector_handle(dissect_wimaxmacphy, proto_wimaxmacphy);
- dissector_add_handle("udp.port", wimaxmacphy_handle); /* for 'decode as' */
+ dissector_add_for_decode_as("udp.port", wimaxmacphy_handle);
inited = TRUE;
}