aboutsummaryrefslogtreecommitdiffstats
path: root/src/stroke
diff options
context:
space:
mode:
Diffstat (limited to 'src/stroke')
-rw-r--r--src/stroke/stroke.c4
-rw-r--r--src/stroke/stroke.h2
2 files changed, 6 insertions, 0 deletions
diff --git a/src/stroke/stroke.c b/src/stroke/stroke.c
index 3d186bd0c..1fed6e281 100644
--- a/src/stroke/stroke.c
+++ b/src/stroke/stroke.c
@@ -127,6 +127,8 @@ static int add_connection(char *name,
msg.add_conn.me.address = push_string(&msg, my_addr);
msg.add_conn.me.subnet = push_string(&msg, my_net);
msg.add_conn.me.subnet_mask = my_netmask;
+ msg.add_conn.me.sourceip = NULL;
+ msg.add_conn.me.virtual_ip = 0;
msg.add_conn.me.cert = NULL;
msg.add_conn.me.ca = NULL;
msg.add_conn.me.sendcert = 1;
@@ -138,6 +140,8 @@ static int add_connection(char *name,
msg.add_conn.other.address = push_string(&msg, other_addr);
msg.add_conn.other.subnet = push_string(&msg, other_net);
msg.add_conn.other.subnet_mask = other_netmask;
+ msg.add_conn.other.sourceip = NULL;
+ msg.add_conn.other.virtual_ip = 0;
msg.add_conn.other.cert = NULL;
msg.add_conn.other.ca = NULL;
msg.add_conn.other.sendcert = 1;
diff --git a/src/stroke/stroke.h b/src/stroke/stroke.h
index ced655583..57ddf29be 100644
--- a/src/stroke/stroke.h
+++ b/src/stroke/stroke.h
@@ -100,6 +100,8 @@ struct stroke_end_t {
char *ca;
char *updown;
char *address;
+ char *sourceip;
+ u_int8_t virtual_ip;
char *subnet;
int subnet_mask;
int sendcert;