ike: Keep track of send keepalive jobs to avoid scheduling more than one per IKE_SA
[strongswan.git] / src / libcharon / processing / jobs / send_keepalive_job.c
index 3e34776..e06eae3 100644 (file)
@@ -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;