aboutsummaryrefslogtreecommitdiffstats
path: root/src/libcharon/daemon.c
diff options
context:
space:
mode:
authorTobias Brunner <tobias@strongswan.org>2016-02-12 15:30:18 +0100
committerTobias Brunner <tobias@strongswan.org>2016-03-03 17:36:11 +0100
commit8394ea2a42eb23ba22471d913dcf47e6067109e1 (patch)
tree365f6d98c717f76701dac4e4ef1064d408c305f5 /src/libcharon/daemon.c
parentdec9e1957feb56c854bc24a657a6a378d74317f6 (diff)
downloadstrongswan-8394ea2a42eb23ba22471d913dcf47e6067109e1.tar.bz2
strongswan-8394ea2a42eb23ba22471d913dcf47e6067109e1.tar.xz
libhydra: Move kernel interface to libcharon
This moves hydra->kernel_interface to charon->kernel.
Diffstat (limited to 'src/libcharon/daemon.c')
-rw-r--r--src/libcharon/daemon.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libcharon/daemon.c b/src/libcharon/daemon.c
index f861460db..799c3f6dc 100644
--- a/src/libcharon/daemon.c
+++ b/src/libcharon/daemon.c
@@ -685,6 +685,7 @@ static void destroy(private_daemon_t *this)
DESTROY_IF(this->public.xauth);
DESTROY_IF(this->public.backends);
DESTROY_IF(this->public.socket);
+ DESTROY_IF(this->public.kernel);
/* rehook library logging, shutdown logging */
dbg = dbg_old;
@@ -862,6 +863,7 @@ private_daemon_t *daemon_create()
.ref = 1,
);
charon = &this->public;
+ this->public.kernel = kernel_interface_create();
this->public.attributes = attribute_manager_create();
this->public.controller = controller_create();
this->public.eap = eap_manager_create();