ikev1: Delete Quick Mode SAs before the ISAKMP SA
After the ISAKMP_DELETE task has been executed the IKE_SA is destroyed so we wouldn't be able to send deletes for the Quick Mode SAs.
This commit is contained in:
@@ -515,13 +515,13 @@ METHOD(task_manager_t, initiate, status_t,
|
|||||||
new_mid = TRUE;
|
new_mid = TRUE;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
if (activate_task(this, TASK_ISAKMP_DELETE))
|
if (activate_task(this, TASK_QUICK_DELETE))
|
||||||
{
|
{
|
||||||
exchange = INFORMATIONAL_V1;
|
exchange = INFORMATIONAL_V1;
|
||||||
new_mid = TRUE;
|
new_mid = TRUE;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
if (activate_task(this, TASK_QUICK_DELETE))
|
if (activate_task(this, TASK_ISAKMP_DELETE))
|
||||||
{
|
{
|
||||||
exchange = INFORMATIONAL_V1;
|
exchange = INFORMATIONAL_V1;
|
||||||
new_mid = TRUE;
|
new_mid = TRUE;
|
||||||
|
|||||||
Reference in New Issue
Block a user