Add ike_reestablish() event that is triggered when an IKE_SA is reestablished
This is particularly useful during reauthentication to get the new IKE_SA.
This commit is contained in:
@@ -1659,6 +1659,7 @@ METHOD(ike_sa_t, reestablish, status_t,
|
||||
}
|
||||
else
|
||||
{
|
||||
charon->bus->ike_reestablish(charon->bus, &this->public, new);
|
||||
charon->ike_sa_manager->checkin(charon->ike_sa_manager, new);
|
||||
status = SUCCESS;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user