aboutsummaryrefslogtreecommitdiffstats
path: root/src/libcharon/kernel/kernel_handler.c
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/kernel/kernel_handler.c
parent6f449d2efdacaf5bfdc88f2c20130451e0c53d70 (diff)
downloadstrongswan-f6659688abef15c7ac8f03f6e7f25e0bc75cbdd4.tar.bz2
strongswan-f6659688abef15c7ac8f03f6e7f25e0bc75cbdd4.tar.xz
Refer to kernel interface via hydra and not charon.
Diffstat (limited to 'src/libcharon/kernel/kernel_handler.c')
-rw-r--r--src/libcharon/kernel/kernel_handler.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/libcharon/kernel/kernel_handler.c b/src/libcharon/kernel/kernel_handler.c
index d863ca504..ef700436d 100644
--- a/src/libcharon/kernel/kernel_handler.c
+++ b/src/libcharon/kernel/kernel_handler.c
@@ -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;
}