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.h1
2 files changed, 3 insertions, 0 deletions
diff --git a/src/stroke/stroke.c b/src/stroke/stroke.c
index 31293a7d3..ebb12b710 100644
--- a/src/stroke/stroke.c
+++ b/src/stroke/stroke.c
@@ -106,6 +106,8 @@ static int add_connection(char *name,
msg.add_conn.name = push_string(&msg, name);
msg.add_conn.ikev2 = 1;
+ msg.add_conn.auth_method = 2;
+ msg.add_conn.eap_type = 0;
msg.add_conn.mode = 1;
msg.add_conn.rekey.reauth = 0;
diff --git a/src/stroke/stroke.h b/src/stroke/stroke.h
index bbc1e6e01..7d3f45d13 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 eap_type;
int mode;
struct {
char *ike;