aboutsummaryrefslogtreecommitdiffstats
path: root/src/starter/starter.c
diff options
context:
space:
mode:
authorTobias Brunner <tobias@strongswan.org>2008-11-11 09:22:00 +0000
committerTobias Brunner <tobias@strongswan.org>2008-11-11 09:22:00 +0000
commitea625fabf9ecde1acaa953f2ba0c1fae1af22c35 (patch)
treea0b184738547aa823d437e44ccbd9daa65ee0f79 /src/starter/starter.c
parentc117f24e61a204b1de6f784f174ae290f1876021 (diff)
downloadstrongswan-ea625fabf9ecde1acaa953f2ba0c1fae1af22c35.tar.bz2
strongswan-ea625fabf9ecde1acaa953f2ba0c1fae1af22c35.tar.xz
merging kernel_klips plugin back into trunk
Diffstat (limited to 'src/starter/starter.c')
-rw-r--r--src/starter/starter.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/starter/starter.c b/src/starter/starter.c
index ad78d14d4..0166f1b66 100644
--- a/src/starter/starter.c
+++ b/src/starter/starter.c
@@ -42,6 +42,7 @@
#include "invokepluto.h"
#include "invokecharon.h"
#include "netkey.h"
+#include "klips.h"
#include "cmp.h"
#include "interfaces.h"
@@ -324,7 +325,11 @@ int main (int argc, char **argv)
if (!starter_netkey_init())
{
plog("no netkey IPSec stack detected");
- exit(LSB_RC_FAILURE);
+ if (!starter_klips_init())
+ {
+ plog("no KLIPS IPSec stack detected");
+ exit(LSB_RC_FAILURE);
+ }
}
last_reload = time(NULL);