diff options
author | Tobias Brunner <tobias@strongswan.org> | 2010-07-05 13:52:05 +0200 |
---|---|---|
committer | Tobias Brunner <tobias@strongswan.org> | 2010-09-02 19:01:22 +0200 |
commit | c5f7146b17453d1d4d2c7cbd4e9880a3fd342591 (patch) | |
tree | 584be6d9d6e57082ad9c50e8cffc1aeee86e5514 /src/libcharon/plugins/load_tester/load_tester_plugin.c | |
parent | 633fbe4fde8887d8026c1c121f26c220dda26329 (diff) | |
download | strongswan-c5f7146b17453d1d4d2c7cbd4e9880a3fd342591.tar.bz2 strongswan-c5f7146b17453d1d4d2c7cbd4e9880a3fd342591.tar.xz |
Refer to processor via hydra and not charon.
Diffstat (limited to 'src/libcharon/plugins/load_tester/load_tester_plugin.c')
-rw-r--r-- | src/libcharon/plugins/load_tester/load_tester_plugin.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libcharon/plugins/load_tester/load_tester_plugin.c b/src/libcharon/plugins/load_tester/load_tester_plugin.c index 15dbccb00..c9384d558 100644 --- a/src/libcharon/plugins/load_tester/load_tester_plugin.c +++ b/src/libcharon/plugins/load_tester/load_tester_plugin.c @@ -22,6 +22,7 @@ #include <unistd.h> +#include <hydra.h> #include <daemon.h> #include <processing/jobs/callback_job.h> #include <threading/condvar.h> @@ -221,7 +222,7 @@ plugin_t *load_tester_plugin_create() this->running = 0; for (i = 0; i < this->initiators; i++) { - charon->processor->queue_job(charon->processor, + hydra->processor->queue_job(hydra->processor, (job_t*)callback_job_create((callback_job_cb_t)do_load_test, this, NULL, NULL)); } |