aboutsummaryrefslogtreecommitdiffstats
path: root/src/starter/starterstroke.c
diff options
context:
space:
mode:
authorAndreas Steffen <andreas.steffen@strongswan.org>2006-12-21 20:05:08 +0000
committerAndreas Steffen <andreas.steffen@strongswan.org>2006-12-21 20:05:08 +0000
commitfb3466063243a46fc01c0730f0d6a36783487bfe (patch)
tree02ec1394555152bf7755c3f8b063703929ed9891 /src/starter/starterstroke.c
parentf4d81b663a16f22e30c02082065bfb3991fa97b5 (diff)
downloadstrongswan-fb3466063243a46fc01c0730f0d6a36783487bfe.tar.bz2
strongswan-fb3466063243a46fc01c0730f0d6a36783487bfe.tar.xz
negated POLICY_REAUTH to POLICY_DONT_REAUTH
Diffstat (limited to 'src/starter/starterstroke.c')
-rw-r--r--src/starter/starterstroke.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/starter/starterstroke.c b/src/starter/starterstroke.c
index 41f67c891..dc81acf8a 100644
--- a/src/starter/starterstroke.c
+++ b/src/starter/starterstroke.c
@@ -206,7 +206,7 @@ int starter_stroke_add_conn(starter_conn_t *conn)
}
else
{
- msg.add_conn.rekey.reauth = (conn->policy & POLICY_REAUTH);
+ msg.add_conn.rekey.reauth = (conn->policy & POLICY_DONT_REAUTH) == LEMPTY;
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;