diff options
author | Martin Willi <martin@strongswan.org> | 2008-05-15 14:01:26 +0000 |
---|---|---|
committer | Martin Willi <martin@strongswan.org> | 2008-05-15 14:01:26 +0000 |
commit | a3d92a3745e37ef82f07532b1dbfe870bc487514 (patch) | |
tree | 3cd9627d087558eb421ba18772ffa956f810b7d2 /src/manager | |
parent | 84770ded1e4f42ea5a85cfcfba6e60900d4141ae (diff) | |
download | strongswan-a3d92a3745e37ef82f07532b1dbfe870bc487514.tar.bz2 strongswan-a3d92a3745e37ef82f07532b1dbfe870bc487514.tar.xz |
plugin load configuration in strongswan.conf
some components accept a "component.load" option with a space separated list of plugins to load
libcharon- plugins are now handled the same way as libstrongswan- plugins
Diffstat (limited to 'src/manager')
-rw-r--r-- | src/manager/main.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/manager/main.c b/src/manager/main.c index 03a9f5807..08f05e548 100644 --- a/src/manager/main.c +++ b/src/manager/main.c @@ -37,7 +37,9 @@ int main (int arc, char *argv[]) int threads, timeout; library_init(STRONGSWAN_CONF); - lib->plugins->load(lib->plugins, IPSEC_PLUGINDIR, "libstrongswan-"); + lib->plugins->load(lib->plugins, IPSEC_PLUGINDIR, + lib->settings->get_str(lib->settings, "manager.load", + "random sha1 sqlite")); socket = lib->settings->get_str(lib->settings, "manager.socket", NULL); debug = lib->settings->get_bool(lib->settings, "manager.debug", FALSE); |