aboutsummaryrefslogtreecommitdiffstats
path: root/src/stroke
diff options
context:
space:
mode:
Diffstat (limited to 'src/stroke')
-rw-r--r--src/stroke/stroke.c2
-rw-r--r--src/stroke/stroke.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/stroke/stroke.c b/src/stroke/stroke.c
index 03a5ca245..6ca07a8e5 100644
--- a/src/stroke/stroke.c
+++ b/src/stroke/stroke.c
@@ -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);
diff --git a/src/stroke/stroke.h b/src/stroke/stroke.h
index 320284229..39a529c60 100644
--- a/src/stroke/stroke.h
+++ b/src/stroke/stroke.h
@@ -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;