controller: Add option to force destruction of an IKE_SA

It's optionally possible to wait for a timeout to destroy the SA.
This commit is contained in:
Tobias Brunner
2018-05-22 10:06:07 +02:00
parent a79d510354
commit 7b72909774
11 changed files with 45 additions and 20 deletions
+1 -1
View File
@@ -326,7 +326,7 @@ CALLBACK(terminate, vici_message_t*,
}
else
{
if (charon->controller->terminate_ike(charon->controller, *del,
if (charon->controller->terminate_ike(charon->controller, *del, FALSE,
log_cb, &log, timeout) == SUCCESS)
{
done++;