aboutsummaryrefslogtreecommitdiffstats
path: root/src/libcharon/daemon.c
diff options
context:
space:
mode:
authorAndreas Steffen <andreas.steffen@strongswan.org>2011-06-28 19:42:54 +0200
committerAndreas Steffen <andreas.steffen@strongswan.org>2011-06-28 19:42:54 +0200
commitf87991704e517ee433ee87e9dd37bf758268f71d (patch)
tree4fe8b5e539f019a1b8df1fab30d68f1abdde98ae /src/libcharon/daemon.c
parent6a5c8ee7a53d3652bd95eeb97a77c2d18b7737d4 (diff)
downloadstrongswan-f87991704e517ee433ee87e9dd37bf758268f71d.tar.bz2
strongswan-f87991704e517ee433ee87e9dd37bf758268f71d.tar.xz
implemented PASS and DROP shunt policies
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 a2fe6aea5..9bdced122 100644
--- a/src/libcharon/daemon.c
+++ b/src/libcharon/daemon.c
@@ -115,6 +115,7 @@ static void destroy(private_daemon_t *this)
#endif /* CAPABILITIES_LIBCAP */
DESTROY_IF(this->kernel_handler);
DESTROY_IF(this->public.traps);
+ DESTROY_IF(this->public.shunts);
DESTROY_IF(this->public.ike_sa_manager);
DESTROY_IF(this->public.controller);
DESTROY_IF(this->public.eap);
@@ -294,6 +295,7 @@ private_daemon_t *daemon_create()
this->public.backends = backend_manager_create();
this->public.socket = socket_manager_create();
this->public.traps = trap_manager_create();
+ this->public.shunts = shunt_manager_create();
this->kernel_handler = kernel_handler_create();
#ifdef CAPABILITIES