aboutsummaryrefslogtreecommitdiffstats
path: root/src/libcharon/plugins/load_tester
diff options
context:
space:
mode:
authorTobias Brunner <tobias@strongswan.org>2010-07-12 11:14:54 +0200
committerTobias Brunner <tobias@strongswan.org>2010-09-02 19:01:25 +0200
commitf6659688abef15c7ac8f03f6e7f25e0bc75cbdd4 (patch)
treee8fc1bce17db99a8249a1175452d4b46be20cb50 /src/libcharon/plugins/load_tester
parent6f449d2efdacaf5bfdc88f2c20130451e0c53d70 (diff)
downloadstrongswan-f6659688abef15c7ac8f03f6e7f25e0bc75cbdd4.tar.bz2
strongswan-f6659688abef15c7ac8f03f6e7f25e0bc75cbdd4.tar.xz
Refer to kernel interface via hydra and not charon.
Diffstat (limited to 'src/libcharon/plugins/load_tester')
-rw-r--r--src/libcharon/plugins/load_tester/load_tester_plugin.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libcharon/plugins/load_tester/load_tester_plugin.c b/src/libcharon/plugins/load_tester/load_tester_plugin.c
index c9384d558..a1956d17c 100644
--- a/src/libcharon/plugins/load_tester/load_tester_plugin.c
+++ b/src/libcharon/plugins/load_tester/load_tester_plugin.c
@@ -156,7 +156,7 @@ static void destroy(private_load_tester_plugin_t *this)
this->condvar->wait(this->condvar, this->mutex);
}
this->mutex->unlock(this->mutex);
- charon->kernel_interface->remove_ipsec_interface(charon->kernel_interface,
+ hydra->kernel_interface->remove_ipsec_interface(hydra->kernel_interface,
(kernel_ipsec_constructor_t)load_tester_ipsec_create);
charon->backends->remove_backend(charon->backends, &this->config->backend);
lib->credmgr->remove_set(lib->credmgr, &this->creds->credential_set);
@@ -216,7 +216,7 @@ plugin_t *load_tester_plugin_create()
if (lib->settings->get_bool(lib->settings,
"charon.plugins.load-tester.fake_kernel", FALSE))
{
- charon->kernel_interface->add_ipsec_interface(charon->kernel_interface,
+ hydra->kernel_interface->add_ipsec_interface(hydra->kernel_interface,
(kernel_ipsec_constructor_t)load_tester_ipsec_create);
}
this->running = 0;