]> git.ipfire.org Git - thirdparty/strongswan.git/commitdiff
vici: Reload loggers after reloading strongswan.conf via reload-setting command
authorTobias Brunner <tobias@strongswan.org>
Mon, 23 Jan 2017 16:25:28 +0000 (17:25 +0100)
committerTobias Brunner <tobias@strongswan.org>
Wed, 25 Jan 2017 13:58:12 +0000 (14:58 +0100)
src/libcharon/plugins/vici/vici_control.c

index 44003819af8fe2e5794850ca6a1da85ae8773a23..59c21443733ca93e46b9df8d4a4dd9091d1d3d23 100644 (file)
@@ -626,6 +626,7 @@ CALLBACK(reload_settings, vici_message_t*,
 {
        if (lib->settings->load_files(lib->settings, lib->conf, FALSE))
        {
+               charon->load_loggers(charon);
                lib->plugins->reload(lib->plugins, NULL);
                return send_reply(this, NULL);
        }