aboutsummaryrefslogtreecommitdiffstats
path: root/src/libcharon/plugins/android/android_service.c
diff options
context:
space:
mode:
authorAndreas Steffen <andreas.steffen@strongswan.org>2012-06-08 13:01:08 +0200
committerAndreas Steffen <andreas.steffen@strongswan.org>2012-06-08 21:24:41 +0200
commit1d315bddd34033fb1679697f90a9294e2ebdcb96 (patch)
tree157888b2e984bdc64a05179ccfa9d7353244dd7b /src/libcharon/plugins/android/android_service.c
parente5f0f9ff969f867faf3fb243468d658c4ab9e154 (diff)
downloadstrongswan-1d315bddd34033fb1679697f90a9294e2ebdcb96.tar.bz2
strongswan-1d315bddd34033fb1679697f90a9294e2ebdcb96.tar.xz
implemented the right|leftallowany feature
Diffstat (limited to 'src/libcharon/plugins/android/android_service.c')
-rw-r--r--src/libcharon/plugins/android/android_service.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libcharon/plugins/android/android_service.c b/src/libcharon/plugins/android/android_service.c
index a25ca3612..f4e7e5097 100644
--- a/src/libcharon/plugins/android/android_service.c
+++ b/src/libcharon/plugins/android/android_service.c
@@ -269,8 +269,8 @@ static job_requeue_t initiate(private_android_service_t *this)
this->creds->set_username_password(this->creds, user, password);
}
- ike_cfg = ike_cfg_create(TRUE, FALSE, "0.0.0.0", IKEV2_UDP_PORT,
- hostname, IKEV2_UDP_PORT);
+ ike_cfg = ike_cfg_create(TRUE, FALSE, "0.0.0.0", FALSE, IKEV2_UDP_PORT,
+ hostname, FALSE, IKEV2_UDP_PORT);
ike_cfg->add_proposal(ike_cfg, proposal_create_default(PROTO_IKE));
peer_cfg = peer_cfg_create("android", IKEV2, ike_cfg, CERT_SEND_IF_ASKED,