diff options
author | Martin Willi <martin@strongswan.org> | 2007-08-29 12:11:25 +0000 |
---|---|---|
committer | Martin Willi <martin@strongswan.org> | 2007-08-29 12:11:25 +0000 |
commit | 9164e49ac096db02e6bf9ac92bfbc52af6f90ae8 (patch) | |
tree | 757e57f36100cca7bda77d665e13f39dc6216fda /src/starter/starterstroke.c | |
parent | c5dfb88ab8bb1f745bbc7bd6509f4481ba04bcf3 (diff) | |
download | strongswan-9164e49ac096db02e6bf9ac92bfbc52af6f90ae8.tar.bz2 strongswan-9164e49ac096db02e6bf9ac92bfbc52af6f90ae8.tar.xz |
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
Diffstat (limited to 'src/starter/starterstroke.c')
-rw-r--r-- | src/starter/starterstroke.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/starter/starterstroke.c b/src/starter/starterstroke.c index 13c2f4326..69b5e5085 100644 --- a/src/starter/starterstroke.c +++ b/src/starter/starterstroke.c @@ -227,6 +227,7 @@ int starter_stroke_add_conn(starter_conn_t *conn) msg.add_conn.rekey.tries = conn->sa_keying_tries; msg.add_conn.rekey.fuzz = conn->sa_rekey_fuzz; } + msg.add_conn.mobike = conn->policy & POLICY_MOBIKE; msg.add_conn.algorithms.ike = push_string(&msg, conn->ike); msg.add_conn.algorithms.esp = push_string(&msg, conn->esp); msg.add_conn.dpd.delay = conn->dpd_delay; |