aboutsummaryrefslogtreecommitdiffstats
path: root/src/libcharon/daemon.c
diff options
context:
space:
mode:
authorTobias Brunner <tobias@strongswan.org>2016-03-03 17:39:27 +0100
committerTobias Brunner <tobias@strongswan.org>2016-03-03 17:39:58 +0100
commit88ce12a927f03d88f29609a46e7880dc0ecfb8be (patch)
tree7966167225b3e6f2ac51554f6092a28ab132c2b0 /src/libcharon/daemon.c
parent91d80298f9de5e7d792b7cb0a6c7a2c61784d744 (diff)
parent28649f6d91971e0fe50078aec2937010e8c61cd8 (diff)
downloadstrongswan-88ce12a927f03d88f29609a46e7880dc0ecfb8be.tar.bz2
strongswan-88ce12a927f03d88f29609a46e7880dc0ecfb8be.tar.xz
Merge branch 'libhydra-bye-bye'
Moves kernel plugins to libcharon and removes the unused libhydra. The kernel interface is now accessible under 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();