do not delete passive IKE_SAs
This commit is contained in:
1 parent
c610f42430
commit
dd6b7af3f7
1 file changed
+5
@@ -63,6 +63,11 @@ static void execute(private_delete_ike_sa_job_t *this)
|
||||
this->ike_sa_id);
|
||||
if (ike_sa)
|
||||
{
|
||||
if (ike_sa->get_state(ike_sa) == IKE_PASSIVE)
|
||||
{
|
||||
charon->ike_sa_manager->checkin(charon->ike_sa_manager, ike_sa);
|
||||
return destroy(this);
|
||||
}
|
||||
if (this->delete_if_established)
|
||||
{
|
||||
if (ike_sa->delete(ike_sa) == DESTROY_ME)
|
||||
|
||||
Reference in new issue
Block a user