Support an "any" IKE version for both IKEv1 or IKEv2
This commit is contained in:
+1
-1
@@ -138,7 +138,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.version = 2;
|
||||
msg.add_conn.auth_method = 2;
|
||||
msg.add_conn.mode = 1;
|
||||
msg.add_conn.mobike = 1;
|
||||
|
||||
@@ -239,7 +239,7 @@ struct stroke_msg_t {
|
||||
/* data for STR_ADD_CONN */
|
||||
struct {
|
||||
char *name;
|
||||
int ikev2;
|
||||
int version;
|
||||
/* next three are deprecated, use stroke_end_t.auth instead */
|
||||
int auth_method;
|
||||
u_int32_t eap_type;
|
||||
|
||||
Reference in New Issue
Block a user