From 4b670a20a9ee0ac5efd806ff804e75fe00509826 Mon Sep 17 00:00:00 2001 From: Tobias Brunner Date: Wed, 14 May 2014 16:05:02 +0200 Subject: settings: strongswan.conf must be loaded explicitly --- src/charon-cmd/charon-cmd.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/charon-cmd/charon-cmd.c') diff --git a/src/charon-cmd/charon-cmd.c b/src/charon-cmd/charon-cmd.c index a70d314af..b41cf467c 100644 --- a/src/charon-cmd/charon-cmd.c +++ b/src/charon-cmd/charon-cmd.c @@ -126,12 +126,15 @@ static int run() { DBG1(DBG_DMN, "signal of type SIGHUP received. Reloading " "configuration"); - if (lib->settings->load_files(lib->settings, NULL, FALSE)) +#ifdef STRONGSWAN_CONF + if (lib->settings->load_files(lib->settings, STRONGSWAN_CONF, + FALSE)) { charon->load_loggers(charon, levels, TRUE); lib->plugins->reload(lib->plugins, NULL); } else +#endif { DBG1(DBG_DMN, "reloading config failed, keeping old"); } -- cgit v1.2.3