diff options
Diffstat (limited to 'src/stroke')
-rw-r--r-- | src/stroke/stroke.c | 3 | ||||
-rw-r--r-- | src/stroke/stroke_msg.h | 8 |
2 files changed, 4 insertions, 7 deletions
diff --git a/src/stroke/stroke.c b/src/stroke/stroke.c index bb299567b..5dc7f0436 100644 --- a/src/stroke/stroke.c +++ b/src/stroke/stroke.c @@ -140,8 +140,7 @@ static int add_connection(char *name, msg.type = STR_ADD_CONN; msg.add_conn.name = push_string(&msg, name); - msg.add_conn.ikev2 = 1; - msg.add_conn.auth_method = 2; + msg.add_conn.version = 2; msg.add_conn.mode = 1; msg.add_conn.mobike = 1; msg.add_conn.dpd.action = 1; diff --git a/src/stroke/stroke_msg.h b/src/stroke/stroke_msg.h index 434122511..22d4f11a3 100644 --- a/src/stroke/stroke_msg.h +++ b/src/stroke/stroke_msg.h @@ -242,15 +242,13 @@ struct stroke_msg_t { /* data for STR_ADD_CONN */ struct { char *name; - int ikev2; - /* next three are deprecated, use stroke_end_t.auth instead */ - int auth_method; - u_int32_t eap_type; - u_int32_t eap_vendor; + int version; char *eap_identity; char *aaa_identity; + char *xauth_identity; int mode; int mobike; + int aggressive; int force_encap; int ipcomp; time_t inactivity; |