implemented handling of dpdaction and dpddelay ipsec.conf parameters
This commit is contained in:
+1
-1
@@ -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
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user