Refer to kernel interface via hydra and not charon.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user