aboutsummaryrefslogtreecommitdiffstats
path: root/src/manager
diff options
context:
space:
mode:
Diffstat (limited to 'src/manager')
-rw-r--r--src/manager/Makefile.am2
-rw-r--r--src/manager/main.c3
2 files changed, 2 insertions, 3 deletions
diff --git a/src/manager/Makefile.am b/src/manager/Makefile.am
index 3e27d5ca2..bcf168f53 100644
--- a/src/manager/Makefile.am
+++ b/src/manager/Makefile.am
@@ -12,7 +12,7 @@ manager_fcgi_LDADD = $(top_builddir)/src/libfast/libfast.la ${xml_LIBS}
INCLUDES = -I$(top_srcdir)/src/libstrongswan -I$(top_srcdir)/src/libfast ${xml_CFLAGS}
AM_CFLAGS = -rdynamic -DIPSECDIR=\"${ipsecdir}\" -DIPSEC_PIDDIR=\"${piddir}\" \
- -DIPSEC_PLUGINDIR=\"${plugindir}\"
+ -DIPSEC_PLUGINDIR=\"${plugindir}\" -DPLUGINS=\""${libstrongswan_plugins}\""
# Don't forget to add templates to EXTRA_DIST !!! How to automate?
ipsec_templatesdir = ${ipsecdir}/templates
diff --git a/src/manager/main.c b/src/manager/main.c
index 08f05e548..cfecc71ba 100644
--- a/src/manager/main.c
+++ b/src/manager/main.c
@@ -38,8 +38,7 @@ int main (int arc, char *argv[])
library_init(STRONGSWAN_CONF);
lib->plugins->load(lib->plugins, IPSEC_PLUGINDIR,
- lib->settings->get_str(lib->settings, "manager.load",
- "random sha1 sqlite"));
+ lib->settings->get_str(lib->settings, "manager.load", PLUGINS));
socket = lib->settings->get_str(lib->settings, "manager.socket", NULL);
debug = lib->settings->get_bool(lib->settings, "manager.debug", FALSE);