diff options
author | Martin Willi <martin@strongswan.org> | 2006-12-19 07:30:07 +0000 |
---|---|---|
committer | Martin Willi <martin@strongswan.org> | 2006-12-19 07:30:07 +0000 |
commit | 6fe03b0af0b77c1f2ad6c94eef2cf4ce20f71e77 (patch) | |
tree | 4938eac185daf23e490cd8e5893a6a5dcbfbb79c /src/starter/starterstroke.c | |
parent | 4986554f1a30d70ccb0d060be77367119561a383 (diff) | |
download | strongswan-6fe03b0af0b77c1f2ad6c94eef2cf4ce20f71e77.tar.bz2 strongswan-6fe03b0af0b77c1f2ad6c94eef2cf4ce20f71e77.tar.xz |
implemented reauthentication using the new reauth=yes|no parameter
Diffstat (limited to 'src/starter/starterstroke.c')
-rw-r--r-- | src/starter/starterstroke.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/starter/starterstroke.c b/src/starter/starterstroke.c index 87cf07ce5..eff157add 100644 --- a/src/starter/starterstroke.c +++ b/src/starter/starterstroke.c @@ -205,6 +205,7 @@ int starter_stroke_add_conn(starter_conn_t *conn) } else { + msg.add_conn.rekey.reauth = (conn->policy & POLICY_REAUTH); msg.add_conn.rekey.ipsec_lifetime = conn->sa_ipsec_life_seconds; msg.add_conn.rekey.ike_lifetime = conn->sa_ike_life_seconds; msg.add_conn.rekey.margin = conn->sa_rekey_margin; |