implemented reauthentication using the new reauth=yes|no parameter
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user