diff options
author | Andreas Steffen <andreas.steffen@strongswan.org> | 2006-12-21 20:05:08 +0000 |
---|---|---|
committer | Andreas Steffen <andreas.steffen@strongswan.org> | 2006-12-21 20:05:08 +0000 |
commit | fb3466063243a46fc01c0730f0d6a36783487bfe (patch) | |
tree | 02ec1394555152bf7755c3f8b063703929ed9891 /src/starter/starterstroke.c | |
parent | f4d81b663a16f22e30c02082065bfb3991fa97b5 (diff) | |
download | strongswan-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.c | 2 |
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; |