Adopt children after syncing a rekeyed IKEv1 SA

This commit is contained in:
Martin Willi
2012-03-20 17:31:38 +01:00
parent fed5c33440
commit aa3b53e716
3 changed files with 10 additions and 2 deletions
+2 -1
View File
@@ -1375,7 +1375,8 @@ METHOD(ike_sa_manager_t, checkin, void,
}
/* apply identities for duplicate test */
if (ike_sa->get_state(ike_sa) == IKE_ESTABLISHED &&
if ((ike_sa->get_state(ike_sa) == IKE_ESTABLISHED ||
ike_sa->get_state(ike_sa) == IKE_PASSIVE) &&
entry->my_id == NULL && entry->other_id == NULL)
{
if (ike_sa->get_version(ike_sa) == IKEV1)