Invoke ike_updown hooks for reauthenticated IKEv1 SAs

This commit is contained in:
Martin Willi
2012-03-20 17:31:36 +01:00
parent b6ac063c36
commit 1a0648490c
2 changed files with 2 additions and 0 deletions
@@ -104,6 +104,7 @@ METHOD(job_t, execute, void,
DBG1(DBG_IKE, "detected reauth of existing IKE_SA, "
"adopting %d children", children->get_count(children));
ike_sa->set_state(ike_sa, IKE_DELETING);
charon->bus->ike_updown(charon->bus, ike_sa, FALSE);
charon->ike_sa_manager->checkin_and_destroy(
charon->ike_sa_manager, ike_sa);
}