aboutsummaryrefslogtreecommitdiffstats
path: root/src/frontends
diff options
context:
space:
mode:
authorMartin Willi <martin@revosec.ch>2013-07-19 14:24:04 +0200
committerMartin Willi <martin@revosec.ch>2013-09-04 10:33:37 +0200
commit9aeaa7396efd0df49bffbf2374fae634da90bda1 (patch)
tree9c5f48123600daaeb81e64e6633e4ff8070a653a /src/frontends
parent0b47bb5377193520d8d95fe66d6d3644abaf2307 (diff)
downloadstrongswan-9aeaa7396efd0df49bffbf2374fae634da90bda1.tar.bz2
strongswan-9aeaa7396efd0df49bffbf2374fae634da90bda1.tar.xz
peer-cfg: add a pull/push mode option to use with mode config
Diffstat (limited to 'src/frontends')
-rw-r--r--src/frontends/android/jni/libandroidbridge/backend/android_service.c2
-rw-r--r--src/frontends/osx/charon-xpc/xpc_dispatch.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/frontends/android/jni/libandroidbridge/backend/android_service.c b/src/frontends/android/jni/libandroidbridge/backend/android_service.c
index c35d348ba..59a4e14cf 100644
--- a/src/frontends/android/jni/libandroidbridge/backend/android_service.c
+++ b/src/frontends/android/jni/libandroidbridge/backend/android_service.c
@@ -535,7 +535,7 @@ static job_requeue_t initiate(private_android_service_t *this)
UNIQUE_REPLACE, 0, /* keyingtries */
36000, 0, /* rekey 10h, reauth none */
600, 600, /* jitter, over 10min */
- TRUE, FALSE, /* mobike, aggressive */
+ TRUE, FALSE, TRUE, /* mobike, aggressive, pull */
0, 0, /* DPD delay, timeout */
FALSE, NULL, NULL); /* mediation */
peer_cfg->add_virtual_ip(peer_cfg, host_create_any(AF_INET));
diff --git a/src/frontends/osx/charon-xpc/xpc_dispatch.c b/src/frontends/osx/charon-xpc/xpc_dispatch.c
index 0a5de15fd..0757e9baf 100644
--- a/src/frontends/osx/charon-xpc/xpc_dispatch.c
+++ b/src/frontends/osx/charon-xpc/xpc_dispatch.c
@@ -91,7 +91,7 @@ static peer_cfg_t* create_peer_cfg(char *name, char *host)
CERT_SEND_IF_ASKED, UNIQUE_REPLACE, 1, /* keyingtries */
36000, 0, /* rekey 10h, reauth none */
600, 600, /* jitter, over 10min */
- TRUE, FALSE, /* mobike, aggressive */
+ TRUE, FALSE, TRUE, /* mobike, aggressive, pull */
30, 0, /* DPD delay, timeout */
FALSE, NULL, NULL); /* mediation */
peer_cfg->add_virtual_ip(peer_cfg, host_create_from_string("0.0.0.0", 0));