added mobike=yes|no connection option

yes: include mobike support notifies as initiator
  no: only enable mobike as responder when initiator supports it
  default: yes
This commit is contained in:
Martin Willi
2007-08-29 12:11:25 +00:00
parent c5dfb88ab8
commit 9164e49ac0
13 changed files with 74 additions and 23 deletions
+1
View File
@@ -109,6 +109,7 @@ static int add_connection(char *name,
msg.add_conn.auth_method = 2;
msg.add_conn.eap_type = 0;
msg.add_conn.mode = 1;
msg.add_conn.mobike = 1;
msg.add_conn.rekey.reauth = 0;
msg.add_conn.rekey.ipsec_lifetime = 0;
+1
View File
@@ -182,6 +182,7 @@ struct stroke_msg_t {
int auth_method;
int eap_type;
int mode;
int mobike;
struct {
char *ike;
char *esp;