summaryrefslogtreecommitdiff
path: root/epan/dissectors/packet-uaudp.c
diff options
context:
space:
mode:
Diffstat (limited to 'epan/dissectors/packet-uaudp.c')
-rw-r--r--epan/dissectors/packet-uaudp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-uaudp.c b/epan/dissectors/packet-uaudp.c
index 60bc292200..d7fdf5b022 100644
--- a/epan/dissectors/packet-uaudp.c
+++ b/epan/dissectors/packet-uaudp.c
@@ -685,7 +685,7 @@ void proto_reg_handoff_uaudp(void)
{
/* If all ports are set to 0, then just register the handle so
* at least "Decode As..." will work. */
- dissector_add_handle("udp.port", uaudp_handle);
+ dissector_add_for_decode_as("udp.port", uaudp_handle);
}
}
}