aboutsummaryrefslogtreecommitdiffstats
path: root/src/medsrv
diff options
context:
space:
mode:
authorMartin Willi <martin@strongswan.org>2009-09-08 19:48:34 +0200
committerMartin Willi <martin@strongswan.org>2009-09-10 18:52:42 +0200
commit5b03a350fc7093aa6984dfcafede98fbb62809eb (patch)
tree0f0ae851da9a7b454913710da1b068afe538f97a /src/medsrv
parent6de28173f08e9ab0707698cb97ec54132b03cfd1 (diff)
downloadstrongswan-5b03a350fc7093aa6984dfcafede98fbb62809eb.tar.bz2
strongswan-5b03a350fc7093aa6984dfcafede98fbb62809eb.tar.xz
use NULL to load plugins from default plugin directory
Diffstat (limited to 'src/medsrv')
-rw-r--r--src/medsrv/Makefile.am1
-rw-r--r--src/medsrv/main.c2
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;