aboutsummaryrefslogtreecommitdiffstats
path: root/src/charon/daemon.c
diff options
context:
space:
mode:
authorMartin Willi <martin@strongswan.org>2008-04-09 12:54:47 +0000
committerMartin Willi <martin@strongswan.org>2008-04-09 12:54:47 +0000
commitcdcfe777f4cec7906a28fd2ef57d24ec3290902f (patch)
treec225288c98e84133eb392499ce842004e249f816 /src/charon/daemon.c
parent4a96521965fd1ab21f4e37bb848b6509d912b9a7 (diff)
downloadstrongswan-cdcfe777f4cec7906a28fd2ef57d24ec3290902f.tar.bz2
strongswan-cdcfe777f4cec7906a28fd2ef57d24ec3290902f.tar.xz
implementation of an CFG attribute framework, currently supporting virtual IPs
updated ipsec.conf sourceip parameter to support CIDR notatation to serve from a pool %poolname to query a separate (database?) pool
Diffstat (limited to 'src/charon/daemon.c')
-rw-r--r--src/charon/daemon.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/charon/daemon.c b/src/charon/daemon.c
index 689bad9fe..e1e9a71e7 100644
--- a/src/charon/daemon.c
+++ b/src/charon/daemon.c
@@ -35,8 +35,6 @@
#include "daemon.h"
#include <library.h>
-#include <credentials/credential_manager.h>
-#include <config/backend_manager.h>
#include <config/traffic_selector.h>
/* on some distros, a capset definition is missing */
@@ -185,6 +183,7 @@ static void destroy(private_daemon_t *this)
DESTROY_IF(this->public.mediation_manager);
#endif /* ME */
DESTROY_IF(this->public.backends);
+ DESTROY_IF(this->public.attributes);
DESTROY_IF(this->public.credentials);
DESTROY_IF(this->public.sender);
DESTROY_IF(this->public.receiver);
@@ -338,6 +337,7 @@ static bool initialize(private_daemon_t *this, bool syslog, level_t levels[])
this->public.controller = controller_create();
this->public.eap = eap_manager_create();
this->public.backends = backend_manager_create();
+ this->public.attributes = attribute_manager_create();
this->public.plugins = plugin_loader_create();
this->public.kernel_interface = kernel_interface_create();
this->public.socket = socket_create();
@@ -408,6 +408,7 @@ private_daemon_t *daemon_create(void)
this->public.ike_sa_manager = NULL;
this->public.credentials = NULL;
this->public.backends = NULL;
+ this->public.attributes = NULL;
this->public.sender= NULL;
this->public.receiver = NULL;
this->public.scheduler = NULL;