aboutsummaryrefslogtreecommitdiffstats
path: root/src/libcharon/plugins/stroke/stroke_list.c
diff options
context:
space:
mode:
authorTobias Brunner <tobias@strongswan.org>2010-07-05 13:52:05 +0200
committerTobias Brunner <tobias@strongswan.org>2010-09-02 19:01:22 +0200
commitc5f7146b17453d1d4d2c7cbd4e9880a3fd342591 (patch)
tree584be6d9d6e57082ad9c50e8cffc1aeee86e5514 /src/libcharon/plugins/stroke/stroke_list.c
parent633fbe4fde8887d8026c1c121f26c220dda26329 (diff)
downloadstrongswan-c5f7146b17453d1d4d2c7cbd4e9880a3fd342591.tar.bz2
strongswan-c5f7146b17453d1d4d2c7cbd4e9880a3fd342591.tar.xz
Refer to processor via hydra and not charon.
Diffstat (limited to 'src/libcharon/plugins/stroke/stroke_list.c')
-rw-r--r--src/libcharon/plugins/stroke/stroke_list.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/libcharon/plugins/stroke/stroke_list.c b/src/libcharon/plugins/stroke/stroke_list.c
index bd891811d..9106a4fe5 100644
--- a/src/libcharon/plugins/stroke/stroke_list.c
+++ b/src/libcharon/plugins/stroke/stroke_list.c
@@ -21,6 +21,7 @@
#include <malloc.h>
#endif /* HAVE_MALLINFO */
+#include <hydra.h>
#include <daemon.h>
#include <utils/linked_list.h>
#include <credentials/certificates/x509.h>
@@ -422,10 +423,10 @@ static void status(private_stroke_list_t *this, stroke_msg_t *msg, FILE *out, bo
}
#endif /* HAVE_MALLINFO */
fprintf(out, " worker threads: %d idle of %d,",
- charon->processor->get_idle_threads(charon->processor),
- charon->processor->get_total_threads(charon->processor));
+ hydra->processor->get_idle_threads(hydra->processor),
+ hydra->processor->get_total_threads(hydra->processor));
fprintf(out, " job queue load: %d,",
- charon->processor->get_job_load(charon->processor));
+ hydra->processor->get_job_load(hydra->processor));
fprintf(out, " scheduled events: %d\n",
charon->scheduler->get_job_load(charon->scheduler));
fprintf(out, " loaded plugins: ");