Refer to scheduler and processor via lib and not hydra.
This commit is contained in:
@@ -17,7 +17,6 @@
|
||||
|
||||
#include <signal.h>
|
||||
|
||||
#include <hydra.h>
|
||||
#include <daemon.h>
|
||||
#include <processing/jobs/delete_ike_sa_job.h>
|
||||
|
||||
@@ -60,7 +59,7 @@ static bool ike_state_change(private_load_tester_listener_t *this,
|
||||
|
||||
if (this->delete_after_established)
|
||||
{
|
||||
hydra->processor->queue_job(hydra->processor,
|
||||
lib->processor->queue_job(lib->processor,
|
||||
(job_t*)delete_ike_sa_job_create(id, TRUE));
|
||||
}
|
||||
|
||||
|
||||
@@ -222,7 +222,7 @@ plugin_t *load_tester_plugin_create()
|
||||
this->running = 0;
|
||||
for (i = 0; i < this->initiators; i++)
|
||||
{
|
||||
hydra->processor->queue_job(hydra->processor,
|
||||
lib->processor->queue_job(lib->processor,
|
||||
(job_t*)callback_job_create((callback_job_cb_t)do_load_test,
|
||||
this, NULL, NULL));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user