aboutsummaryrefslogtreecommitdiffstats
path: root/src/stroke/stroke.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/stroke/stroke.c')
-rw-r--r--src/stroke/stroke.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/stroke/stroke.c b/src/stroke/stroke.c
index e29a58813..03a5ca245 100644
--- a/src/stroke/stroke.c
+++ b/src/stroke/stroke.c
@@ -116,6 +116,9 @@ static int add_connection(char *name,
msg.add_conn.algorithms.ike = NULL;
msg.add_conn.algorithms.esp = NULL;
+ msg.add_conn.dpd.delay = 0;
+ msg.add_conn.dpd.route = 0;
+
msg.add_conn.me.id = push_string(&msg, my_id);
msg.add_conn.me.address = push_string(&msg, my_addr);
msg.add_conn.me.subnet = push_string(&msg, my_net);