diff options
author | Martin Willi <martin@strongswan.org> | 2009-06-02 15:27:40 +0200 |
---|---|---|
committer | Martin Willi <martin@strongswan.org> | 2009-06-16 17:27:24 +0200 |
commit | 4edda6e4a0ba87f3e495e01e0e7af54a8e47ba1f (patch) | |
tree | 66ce2aa3ad0e3f5d6f791b7e35d2a14efa75c8d6 | |
parent | 04d6583e26aa73b4e7e3f544ad0c0245459bfb9e (diff) | |
download | strongswan-4edda6e4a0ba87f3e495e01e0e7af54a8e47ba1f.tar.bz2 strongswan-4edda6e4a0ba87f3e495e01e0e7af54a8e47ba1f.tar.xz |
load trap_manager before plugins, allowing them to install traps
-rw-r--r-- | src/charon/daemon.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/charon/daemon.c b/src/charon/daemon.c index 1f96c2485..c646ef9b4 100644 --- a/src/charon/daemon.c +++ b/src/charon/daemon.c @@ -480,6 +480,7 @@ static bool initialize(private_daemon_t *this, bool syslog, level_t levels[]) this->public.attributes = attribute_manager_create(); this->public.kernel_interface = kernel_interface_create(); this->public.socket = socket_create(); + this->public.traps = trap_manager_create(); /* load plugins, further infrastructure may need it */ lib->plugins->load(lib->plugins, IPSEC_PLUGINDIR, @@ -505,7 +506,6 @@ static bool initialize(private_daemon_t *this, bool syslog, level_t levels[]) { return FALSE; } - this->public.traps = trap_manager_create(); this->public.sender = sender_create(); this->public.receiver = receiver_create(); if (this->public.receiver == NULL) |