Destroy IKE_SA after reauthentication initiatend and lifetime limit reached
This commit is contained in:
parent
cb1a145ce2
commit
3a0b67bce5
|
@ -1296,8 +1296,13 @@ METHOD(ike_sa_t, delete_, status_t,
|
|||
{
|
||||
switch (this->state)
|
||||
{
|
||||
case IKE_ESTABLISHED:
|
||||
case IKE_REKEYING:
|
||||
if (this->version == IKEV1)
|
||||
{ /* SA has been reauthenticated, delete */
|
||||
break;
|
||||
}
|
||||
/* FALL */
|
||||
case IKE_ESTABLISHED:
|
||||
this->task_manager->queue_ike_delete(this->task_manager);
|
||||
return this->task_manager->initiate(this->task_manager);
|
||||
case IKE_CREATED:
|
||||
|
|
Loading…
Reference in New Issue