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:
Tobias Brunner
2012-09-06 11:25:14 +02:00
parent 873b63b771
commit 4dbb193190
4 changed files with 49 additions and 0 deletions
+1
View File
@@ -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;
}