implemented handling of dpdaction and dpddelay ipsec.conf parameters

This commit is contained in:
Martin Willi
2006-09-08 06:12:02 +00:00
parent a655f5c09c
commit 1239c6f40b
11 changed files with 156 additions and 26 deletions
+1 -1
View File
@@ -117,7 +117,7 @@ static int add_connection(char *name,
msg.add_conn.algorithms.esp = NULL;
msg.add_conn.dpd.delay = 0;
msg.add_conn.dpd.route = 0;
msg.add_conn.dpd.action = 1;
msg.add_conn.me.id = push_string(&msg, my_id);
msg.add_conn.me.address = push_string(&msg, my_addr);
+1 -1
View File
@@ -147,7 +147,7 @@ struct stroke_msg_t {
} rekey;
struct {
time_t delay;
bool route;
int action;
} dpd;
stroke_end_t me, other;
} add_conn;