aboutsummaryrefslogtreecommitdiffstats
path: root/src/libcharon/daemon.c
diff options
context:
space:
mode:
authorTobias Brunner <tobias@strongswan.org>2010-07-12 10:57:46 +0200
committerTobias Brunner <tobias@strongswan.org>2010-09-02 19:01:25 +0200
commit6f449d2efdacaf5bfdc88f2c20130451e0c53d70 (patch)
tree4423af4183873dab8d2620ae9c9e4e76e22a005a /src/libcharon/daemon.c
parent9f166d9ac20e493e772a384cecdf8badcabf35cb (diff)
downloadstrongswan-6f449d2efdacaf5bfdc88f2c20130451e0c53d70.tar.bz2
strongswan-6f449d2efdacaf5bfdc88f2c20130451e0c53d70.tar.xz
Moved kernel interface to libhydra.
Diffstat (limited to 'src/libcharon/daemon.c')
-rw-r--r--src/libcharon/daemon.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/libcharon/daemon.c b/src/libcharon/daemon.c
index 3e6ca0316..f05870d61 100644
--- a/src/libcharon/daemon.c
+++ b/src/libcharon/daemon.c
@@ -115,10 +115,9 @@ static void destroy(private_daemon_t *this)
#ifdef CAPABILITIES_LIBCAP
cap_free(this->caps);
#endif /* CAPABILITIES_LIBCAP */
+ DESTROY_IF(this->kernel_handler);
DESTROY_IF(this->public.traps);
DESTROY_IF(this->public.ike_sa_manager);
- DESTROY_IF(this->kernel_handler);
- DESTROY_IF(this->public.kernel_interface);
DESTROY_IF(this->public.controller);
DESTROY_IF(this->public.eap);
DESTROY_IF(this->public.sim);
@@ -368,10 +367,9 @@ METHOD(daemon_t, initialize, bool,
this->public.eap = eap_manager_create();
this->public.sim = sim_manager_create();
this->public.backends = backend_manager_create();
- this->public.kernel_interface = kernel_interface_create();
- this->kernel_handler = kernel_handler_create();
this->public.socket = socket_manager_create();
this->public.traps = trap_manager_create();
+ this->kernel_handler = kernel_handler_create();
/* load plugins, further infrastructure may need it */
if (!lib->plugins->load(lib->plugins, NULL,