diff options
Diffstat (limited to 'src/openac')
-rw-r--r-- | src/openac/Makefile.am | 1 | ||||
-rwxr-xr-x | src/openac/openac.c | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/src/openac/Makefile.am b/src/openac/Makefile.am index b71e6a0e1..e36b623ba 100644 --- a/src/openac/Makefile.am +++ b/src/openac/Makefile.am @@ -6,7 +6,6 @@ INCLUDES = -I$(top_srcdir)/src/libstrongswan AM_CFLAGS = \ -DIPSEC_CONFDIR=\"${sysconfdir}\" \ -DSTRONGSWAN_CONF=\"${strongswan_conf}\" \ - -DIPSEC_PLUGINDIR=\"${plugindir}\" \ -DPLUGINS=\""${libstrongswan_plugins}\"" openac_LDADD = $(top_builddir)/src/libstrongswan/libstrongswan.la diff --git a/src/openac/openac.c b/src/openac/openac.c index 99af1774f..de95643af 100755 --- a/src/openac/openac.c +++ b/src/openac/openac.c @@ -231,7 +231,7 @@ int main(int argc, char **argv) fprintf(stderr, "integrity check of openac failed\n"); exit(SS_RC_DAEMON_INTEGRITY); } - if (!lib->plugins->load(lib->plugins, IPSEC_PLUGINDIR, + if (!lib->plugins->load(lib->plugins, NULL, lib->settings->get_str(lib->settings, "openac.load", PLUGINS))) { exit(SS_RC_INITIALIZATION_FAILED); |