diff options
Diffstat (limited to 'plugins/rtnet/packet-rtnet.c')
-rw-r--r-- | plugins/rtnet/packet-rtnet.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/plugins/rtnet/packet-rtnet.c b/plugins/rtnet/packet-rtnet.c index 10c204d297..cc6b959f96 100644 --- a/plugins/rtnet/packet-rtnet.c +++ b/plugins/rtnet/packet-rtnet.c @@ -1402,14 +1402,7 @@ proto_reg_handoff_rtcfg(void) { #ifndef ENABLE_STATIC G_MODULE_EXPORT void -plugin_reg_handoff(void){ - proto_reg_handoff_rtmac(); - proto_reg_handoff_rtcfg(); - data_handle = find_dissector("data"); -} - -G_MODULE_EXPORT void -new_plugin_init(void) +plugin_register(void) { /* register the new protocol, protocol fields, and subtrees */ if (proto_rtmac == -1) { /* execute protocol initialization only once */ @@ -1420,6 +1413,13 @@ new_plugin_init(void) } } +G_MODULE_EXPORT void +plugin_reg_handoff(void){ + proto_reg_handoff_rtmac(); + proto_reg_handoff_rtcfg(); + data_handle = find_dissector("data"); +} + #endif /* End the functions we need for plugin stuff */ |