aboutsummaryrefslogtreecommitdiffstats
path: root/src/manager
diff options
context:
space:
mode:
authorMartin Willi <martin@strongswan.org>2008-05-15 14:01:26 +0000
committerMartin Willi <martin@strongswan.org>2008-05-15 14:01:26 +0000
commita3d92a3745e37ef82f07532b1dbfe870bc487514 (patch)
tree3cd9627d087558eb421ba18772ffa956f810b7d2 /src/manager
parent84770ded1e4f42ea5a85cfcfba6e60900d4141ae (diff)
downloadstrongswan-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.c4
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);