Refer to kernel interface via hydra and not charon.

This commit is contained in:
Tobias Brunner
2010-09-02 19:01:25 +02:00
parent 6f449d2efd
commit f6659688ab
24 changed files with 161 additions and 144 deletions
+4 -4
View File
@@ -133,8 +133,8 @@ METHOD(kernel_listener_t, roam, bool,
METHOD(kernel_handler_t, destroy, void,
private_kernel_handler_t *this)
{
charon->kernel_interface->remove_listener(charon->kernel_interface,
&this->public.listener);
hydra->kernel_interface->remove_listener(hydra->kernel_interface,
&this->public.listener);
free(this);
}
@@ -155,8 +155,8 @@ kernel_handler_t *kernel_handler_create()
},
);
charon->kernel_interface->add_listener(charon->kernel_interface,
&this->public.listener);
hydra->kernel_interface->add_listener(hydra->kernel_interface,
&this->public.listener);
return &this->public;
}