aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/unistim/packet-unistim.c2
-rw-r--r--plugins/wimaxmacphy/packet-wimaxmacphy.c2
2 files changed, 2 insertions, 2 deletions
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) {
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;
}