schedule_job uses seconds to support time values larger than 49 days
[strongswan.git] / src / charon / sa / task_manager.c
index f959cd7..7d3cf44 100644 (file)
@@ -259,7 +259,7 @@ static status_t retransmit(private_task_manager_t *this, u_int32_t message_id)
                this->initiating.retransmitted++;
                job = (job_t*)retransmit_job_create(this->initiating.mid,
                                                                                        this->ike_sa->get_id(this->ike_sa));
-               charon->scheduler->schedule_job(charon->scheduler, job, timeout);
+               charon->scheduler->schedule_job_ms(charon->scheduler, job, timeout);
        }
        return SUCCESS;
 }