aboutsummaryrefslogtreecommitdiffstats
path: root/src/stroke
diff options
context:
space:
mode:
authorMartin Willi <martin@strongswan.org>2006-12-19 07:30:07 +0000
committerMartin Willi <martin@strongswan.org>2006-12-19 07:30:07 +0000
commit6fe03b0af0b77c1f2ad6c94eef2cf4ce20f71e77 (patch)
tree4938eac185daf23e490cd8e5893a6a5dcbfbb79c /src/stroke
parent4986554f1a30d70ccb0d060be77367119561a383 (diff)
downloadstrongswan-6fe03b0af0b77c1f2ad6c94eef2cf4ce20f71e77.tar.bz2
strongswan-6fe03b0af0b77c1f2ad6c94eef2cf4ce20f71e77.tar.xz
implemented reauthentication using the new reauth=yes|no parameter
Diffstat (limited to 'src/stroke')
-rw-r--r--src/stroke/stroke.c1
-rw-r--r--src/stroke/stroke.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/stroke/stroke.c b/src/stroke/stroke.c
index a89a083ea..2221915f0 100644
--- a/src/stroke/stroke.c
+++ b/src/stroke/stroke.c
@@ -107,6 +107,7 @@ static int add_connection(char *name,
msg.add_conn.name = push_string(&msg, name);
msg.add_conn.ikev2 = 1;
+ msg.add_conn.rekey.reauth = 0;
msg.add_conn.rekey.ipsec_lifetime = 0;
msg.add_conn.rekey.ike_lifetime = 0;
msg.add_conn.rekey.margin = 0;
diff --git a/src/stroke/stroke.h b/src/stroke/stroke.h
index b6a47ee27..c818075ac 100644
--- a/src/stroke/stroke.h
+++ b/src/stroke/stroke.h
@@ -142,6 +142,7 @@ struct stroke_msg_t {
char *esp;
} algorithms;
struct {
+ int reauth;
time_t ipsec_lifetime;
time_t ike_lifetime;
time_t margin;