aboutsummaryrefslogtreecommitdiffstats
path: root/src/starter/args.c
diff options
context:
space:
mode:
authorMartin Willi <martin@revosec.ch>2011-06-07 11:37:15 +0200
committerMartin Willi <martin@revosec.ch>2011-06-07 12:07:21 +0200
commitf34ebc845b6b71be4575b479a1ffe00d0d337ef4 (patch)
tree0d73fc7285662ef6acec366ed2e20ced638de09d /src/starter/args.c
parent0eb23d7be28213ecdc0cd1103ff94333cd6c0875 (diff)
downloadstrongswan-f34ebc845b6b71be4575b479a1ffe00d0d337ef4.tar.bz2
strongswan-f34ebc845b6b71be4575b479a1ffe00d0d337ef4.tar.xz
Add a closeaction ipsec.conf keyword to configure close action
Diffstat (limited to 'src/starter/args.c')
-rw-r--r--src/starter/args.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/starter/args.c b/src/starter/args.c
index 4d8003aab..78439e2b2 100644
--- a/src/starter/args.c
+++ b/src/starter/args.c
@@ -228,6 +228,7 @@ static const token_info_t token_info[] =
{ ARG_TIME, offsetof(starter_conn_t, dpd_delay), NULL },
{ ARG_TIME, offsetof(starter_conn_t, dpd_timeout), NULL },
{ ARG_ENUM, offsetof(starter_conn_t, dpd_action), LST_dpd_action },
+ { ARG_ENUM, offsetof(starter_conn_t, close_action), LST_dpd_action },
{ ARG_TIME, offsetof(starter_conn_t, inactivity), NULL },
{ ARG_MISC, 0, NULL /* KW_MODECONFIG */ },
{ ARG_MISC, 0, NULL /* KW_XAUTH */ },