pass NULL to library_init() to load settings from default file
This commit is contained in:
@@ -11,7 +11,6 @@ medsrv_fcgi_LDADD = $(top_builddir)/src/libfast/libfast.la
|
||||
|
||||
INCLUDES = -I$(top_srcdir)/src/libstrongswan -I$(top_srcdir)/src/libfast
|
||||
AM_CFLAGS = -rdynamic \
|
||||
-DSTRONGSWAN_CONF=\"${strongswan_conf}\" \
|
||||
-DIPSECDIR=\"${ipsecdir}\" \
|
||||
-DIPSEC_PIDDIR=\"${piddir}\" \
|
||||
-DPLUGINS=\""${libstrongswan_plugins}\""
|
||||
|
||||
+1
-1
@@ -33,7 +33,7 @@ int main(int arc, char *argv[])
|
||||
char *uri;
|
||||
int timeout, threads;
|
||||
|
||||
library_init(STRONGSWAN_CONF);
|
||||
library_init(NULL);
|
||||
if (!lib->plugins->load(lib->plugins, NULL,
|
||||
lib->settings->get_str(lib->settings, "medsrv.load", PLUGINS)))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user