Refer to scheduler via hydra and not charon.
This commit is contained in:
@@ -18,6 +18,7 @@
|
||||
|
||||
#include <math.h>
|
||||
|
||||
#include <hydra.h>
|
||||
#include <daemon.h>
|
||||
#include <sa/tasks/ike_init.h>
|
||||
#include <sa/tasks/ike_natd.h>
|
||||
@@ -274,7 +275,7 @@ METHOD(task_manager_t, retransmit, status_t,
|
||||
this->initiating.retransmitted++;
|
||||
job = (job_t*)retransmit_job_create(this->initiating.mid,
|
||||
this->ike_sa->get_id(this->ike_sa));
|
||||
charon->scheduler->schedule_job_ms(charon->scheduler, job, timeout);
|
||||
hydra->scheduler->schedule_job_ms(hydra->scheduler, job, timeout);
|
||||
}
|
||||
return SUCCESS;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user