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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/stroke/stroke.c b/src/stroke/stroke.c
index 8cce1950c..c8ec9c728 100644
--- a/src/stroke/stroke.c
+++ b/src/stroke/stroke.c
@@ -122,7 +122,7 @@ static int add_connection(char *name,
msg.add_conn.me.subnet_mask = my_netmask;
msg.add_conn.me.cert = NULL;
msg.add_conn.me.ca = NULL;
- msg.add_conn.me.sendcert = CERT_SEND_IF_ASKED;
+ msg.add_conn.me.sendcert = 1;
msg.add_conn.other.id = push_string(&msg, other_id);
msg.add_conn.other.address = push_string(&msg, other_addr);
@@ -130,7 +130,7 @@ static int add_connection(char *name,
msg.add_conn.other.subnet_mask = other_netmask;
msg.add_conn.other.cert = NULL;
msg.add_conn.other.ca = NULL;
- msg.add_conn.other.sendcert = CERT_SEND_IF_ASKED;
+ msg.add_conn.other.sendcert = 1;
return send_stroke_msg(&msg);
}