aboutsummaryrefslogtreecommitdiffstats
path: root/src/starter/args.c
diff options
context:
space:
mode:
authorMartin Willi <martin@strongswan.org>2006-05-06 07:09:45 +0000
committerMartin Willi <martin@strongswan.org>2006-05-06 07:09:45 +0000
commit65cf07ac1d9715a33b4e02fc541c4e1c60879d22 (patch)
tree13ec356692e2bcb4ee4b0d139053a63455ccdf65 /src/starter/args.c
parent9820c0e208fa5c7467fb89b1bda86ced6962e02f (diff)
downloadstrongswan-65cf07ac1d9715a33b4e02fc541c4e1c60879d22.tar.bz2
strongswan-65cf07ac1d9715a33b4e02fc541c4e1c60879d22.tar.xz
- applied patch from andreas
- added charonstart option to config - new ikev2 tests for UML
Diffstat (limited to 'src/starter/args.c')
-rw-r--r--src/starter/args.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/starter/args.c b/src/starter/args.c
index 56b286beb..a473cf639 100644
--- a/src/starter/args.c
+++ b/src/starter/args.c
@@ -86,10 +86,8 @@ static const char *LST_packetdefault[] = {
static const char *LST_keyexchange[] = {
"ike",
-#ifdef IKEV2
"ikev1",
"ikev2",
-#endif /* IKEV2 */
NULL
};
@@ -150,6 +148,8 @@ static const token_info_t token_info[] =
/* config setup keywords */
{ ARG_LST, offsetof(starter_config_t, setup.interfaces), NULL },
{ ARG_STR, offsetof(starter_config_t, setup.dumpdir), NULL },
+ { ARG_ENUM, offsetof(starter_config_t, setup.charonstart), LST_bool },
+ { ARG_ENUM, offsetof(starter_config_t, setup.plutostart), LST_bool },
/* pluto keywords */
{ ARG_LST, offsetof(starter_config_t, setup.plutodebug), LST_plutodebug },