ike: Keep track of send keepalive jobs to avoid scheduling more than one per IKE_SA

This commit is contained in:
Tobias Brunner committed 2016-03-03 17:15:37 +01:00
1 parent 34f7d3b7ae
commit efd7fa7be1
3 files changed
+24 -11

No files matched your search

@@ -54,7 +54,7 @@ METHOD(job_t, execute, job_requeue_t,
this->ike_sa_id);
if (ike_sa)
{
ike_sa->send_keepalive(ike_sa);
ike_sa->send_keepalive(ike_sa, TRUE);
charon->ike_sa_manager->checkin(charon->ike_sa_manager, ike_sa);
}
return JOB_REQUEUE_NONE;