diff options
Diffstat (limited to 'src/stroke')
-rw-r--r-- | src/stroke/stroke.c | 1 | ||||
-rw-r--r-- | src/stroke/stroke.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/src/stroke/stroke.c b/src/stroke/stroke.c index 2221915f0..31293a7d3 100644 --- a/src/stroke/stroke.c +++ b/src/stroke/stroke.c @@ -106,6 +106,7 @@ static int add_connection(char *name, msg.add_conn.name = push_string(&msg, name); msg.add_conn.ikev2 = 1; + msg.add_conn.mode = 1; msg.add_conn.rekey.reauth = 0; msg.add_conn.rekey.ipsec_lifetime = 0; diff --git a/src/stroke/stroke.h b/src/stroke/stroke.h index c818075ac..bbc1e6e01 100644 --- a/src/stroke/stroke.h +++ b/src/stroke/stroke.h @@ -137,6 +137,7 @@ struct stroke_msg_t { char *name; int ikev2; int auth_method; + int mode; struct { char *ike; char *esp; |