diff options
Diffstat (limited to 'src/medsrv')
-rw-r--r-- | src/medsrv/Makefile.am | 1 | ||||
-rw-r--r-- | src/medsrv/main.c | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/src/medsrv/Makefile.am b/src/medsrv/Makefile.am index 8a0703e11..be9360bca 100644 --- a/src/medsrv/Makefile.am +++ b/src/medsrv/Makefile.am @@ -14,7 +14,6 @@ AM_CFLAGS = -rdynamic \ -DSTRONGSWAN_CONF=\"${strongswan_conf}\" \ -DIPSECDIR=\"${ipsecdir}\" \ -DIPSEC_PIDDIR=\"${piddir}\" \ - -DIPSEC_PLUGINDIR=\"${plugindir}\"\ -DPLUGINS=\""${libstrongswan_plugins}\"" # Don't forget to add templates to EXTRA_DIST !!! How to automate? diff --git a/src/medsrv/main.c b/src/medsrv/main.c index d66d01ecf..15d1f7fb8 100644 --- a/src/medsrv/main.c +++ b/src/medsrv/main.c @@ -34,7 +34,7 @@ int main(int arc, char *argv[]) int timeout, threads; library_init(STRONGSWAN_CONF); - if (!lib->plugins->load(lib->plugins, IPSEC_PLUGINDIR, + if (!lib->plugins->load(lib->plugins, NULL, lib->settings->get_str(lib->settings, "medsrv.load", PLUGINS))) { return 1; |