controller: Add option to force destruction of an IKE_SA
[strongswan.git] / src / libcharon / plugins / vici / vici_config.c
index 2faa66e..c851615 100644 (file)
@@ -2083,7 +2083,7 @@ static void clear_start_action(private_vici_config_t *this, char *peer_name,
                                while (array_remove(ikeids, ARRAY_HEAD, &id))
                                {
                                        DBG1(DBG_CFG, "closing IKE_SA #%u", id);
-                                       charon->controller->terminate_ike(charon->controller,
+                                       charon->controller->terminate_ike(charon->controller, FALSE,
                                                                                                          id, NULL, NULL, 0);
                                }
                                array_destroy(ikeids);