reset IKE_SA on bus after checkout/checkin of replacement SA
This commit is contained in:
1 parent
140ea1fe5a
commit
04d6583e26
1 file changed
+4
-2
@@ -1651,13 +1651,15 @@ static status_t reestablish(private_ike_sa_t *this)
|
||||
if (status == DESTROY_ME)
|
||||
{
|
||||
charon->ike_sa_manager->checkin_and_destroy(charon->ike_sa_manager, new);
|
||||
return FAILED;
|
||||
status = FAILED;
|
||||
}
|
||||
else
|
||||
{
|
||||
charon->ike_sa_manager->checkin(charon->ike_sa_manager, new);
|
||||
return SUCCESS;
|
||||
status = SUCCESS;
|
||||
}
|
||||
charon->bus->set_sa(charon->bus, &this->public);
|
||||
return status;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user