Refer to scheduler via hydra and not charon.

This commit is contained in:
Tobias Brunner
2010-09-02 19:01:24 +02:00
parent 8c387909eb
commit 61e8e73206
14 changed files with 32 additions and 29 deletions
@@ -1511,7 +1511,7 @@ static void schedule_expire(private_kernel_klips_ipsec_t *this,
expire->reqid = reqid;
expire->type = type;
job = callback_job_create((callback_job_cb_t)sa_expires, expire, free, NULL);
charon->scheduler->schedule_job(charon->scheduler, (job_t*)job, time);
hydra->scheduler->schedule_job(hydra->scheduler, (job_t*)job, time);
}
METHOD(kernel_ipsec_t, get_spi, status_t,