aboutsummaryrefslogtreecommitdiffstats
path: root/src/libcharon/plugins/load_tester
diff options
context:
space:
mode:
authorTobias Brunner <tobias@strongswan.org>2010-07-15 14:49:41 +0200
committerTobias Brunner <tobias@strongswan.org>2010-09-02 19:04:18 +0200
commitbb381e26c6d132fd0d29641cdb75335f52cae309 (patch)
tree982649d5835e392b2a0f866ac0efc296f0f6e720 /src/libcharon/plugins/load_tester
parente18556e9e9e5d870a9846efb1d0a1edd1638fafa (diff)
downloadstrongswan-bb381e26c6d132fd0d29641cdb75335f52cae309.tar.bz2
strongswan-bb381e26c6d132fd0d29641cdb75335f52cae309.tar.xz
Refer to scheduler and processor via lib and not hydra.
Diffstat (limited to 'src/libcharon/plugins/load_tester')
-rw-r--r--src/libcharon/plugins/load_tester/load_tester_listener.c3
-rw-r--r--src/libcharon/plugins/load_tester/load_tester_plugin.c2
2 files changed, 2 insertions, 3 deletions
diff --git a/src/libcharon/plugins/load_tester/load_tester_listener.c b/src/libcharon/plugins/load_tester/load_tester_listener.c
index 19a38d90e..cf6dd0562 100644
--- a/src/libcharon/plugins/load_tester/load_tester_listener.c
+++ b/src/libcharon/plugins/load_tester/load_tester_listener.c
@@ -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));
}
diff --git a/src/libcharon/plugins/load_tester/load_tester_plugin.c b/src/libcharon/plugins/load_tester/load_tester_plugin.c
index a1956d17c..cb9b80c7f 100644
--- a/src/libcharon/plugins/load_tester/load_tester_plugin.c
+++ b/src/libcharon/plugins/load_tester/load_tester_plugin.c
@@ -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));
}