]> git.ipfire.org Git - people/ms/strongswan.git/commitdiff
vici: Undo start actions when unloading configs
authorMartin Willi <martin@strongswan.org>
Wed, 4 Nov 2015 12:25:07 +0000 (13:25 +0100)
committerMartin Willi <martin@strongswan.org>
Mon, 7 Dec 2015 09:05:07 +0000 (10:05 +0100)
src/libcharon/plugins/vici/vici_config.c

index ea6d2958a0e96764eb11aad588d68cfb3b816647..c1dbbc2ab3d049c5f9ff89119f06ab2c0161cc33 100644 (file)
@@ -2005,6 +2005,7 @@ CALLBACK(unload_conn, vici_message_t*,
                if (streq(cfg->get_name(cfg), conn_name))
                {
                        this->conns->remove_at(this->conns, enumerator);
+                       clear_start_actions(this, cfg);
                        cfg->destroy(cfg);
                        found = TRUE;
                        break;