negated POLICY_REAUTH to POLICY_DONT_REAUTH

This commit is contained in:
Andreas Steffen
2006-12-21 20:05:08 +00:00
parent f4d81b663a
commit fb34660632
2 changed files with 3 additions and 4 deletions
+1 -1
View File
@@ -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;