diff options
Diffstat (limited to 'src/stroke/stroke.c')
-rw-r--r-- | src/stroke/stroke.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/stroke/stroke.c b/src/stroke/stroke.c index c8ec9c728..15661a2ec 100644 --- a/src/stroke/stroke.c +++ b/src/stroke/stroke.c @@ -123,6 +123,8 @@ static int add_connection(char *name, msg.add_conn.me.cert = NULL; msg.add_conn.me.ca = NULL; msg.add_conn.me.sendcert = 1; + msg.add_conn.me.protocol = 0; + msg.add_conn.me.port = 0; msg.add_conn.other.id = push_string(&msg, other_id); msg.add_conn.other.address = push_string(&msg, other_addr); @@ -131,6 +133,8 @@ static int add_connection(char *name, msg.add_conn.other.cert = NULL; msg.add_conn.other.ca = NULL; msg.add_conn.other.sendcert = 1; + msg.add_conn.other.protocol = 0; + msg.add_conn.other.port = 0; return send_stroke_msg(&msg); } |