plugin-loader: Support a reload() callback for static features
[strongswan.git] / src / libcharon / daemon.c
index a89995a..3ae7c4e 100644 (file)
@@ -593,7 +593,7 @@ METHOD(daemon_t, initialize, bool,
                                PLUGIN_DEPENDS(CUSTOM, "socket"),
        };
        lib->plugins->add_static_features(lib->plugins, lib->ns, features,
-                                                                         countof(features), TRUE);
+                                                                         countof(features), TRUE, NULL, NULL);
 
        /* load plugins, further infrastructure may need it */
        if (!lib->plugins->load(lib->plugins, plugins))