aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/v5ua/packet-v5ua.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/v5ua/packet-v5ua.c')
-rw-r--r--plugins/v5ua/packet-v5ua.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/plugins/v5ua/packet-v5ua.c b/plugins/v5ua/packet-v5ua.c
index ce5ba5bac7..b3feeca699 100644
--- a/plugins/v5ua/packet-v5ua.c
+++ b/plugins/v5ua/packet-v5ua.c
@@ -2372,12 +2372,7 @@ proto_reg_handoff_v5ua(void)
#ifndef ENABLE_STATIC
G_MODULE_EXPORT void
-plugin_reg_handoff(void){
- proto_reg_handoff_v5ua();
-}
-
-G_MODULE_EXPORT void
-new_plugin_init(void)
+plugin_register(void)
{
/* register the new protocol, protocol fields, and subtrees */
if (proto_v5ua == -1) { /* execute protocol initialization only once */
@@ -2385,6 +2380,11 @@ new_plugin_init(void)
}
}
+G_MODULE_EXPORT void
+plugin_reg_handoff(void){
+ proto_reg_handoff_v5ua();
+}
+
#endif
/* End the functions we need for plugin stuff */