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:
1 parent
a79d510354
commit
7b72909774
11 files changed
+45
-20
No files matched your search
@@ -209,7 +209,8 @@ static job_requeue_t close_ike(char *config)
|
||||
if (id)
|
||||
{
|
||||
DBG1(DBG_CFG, "closing IKE_SA '%s'", config);
|
||||
charon->controller->terminate_ike(charon->controller, id, NULL, NULL, 0);
|
||||
charon->controller->terminate_ike(charon->controller, id, FALSE, NULL,
|
||||
NULL, 0);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user