aboutsummaryrefslogtreecommitdiffstats
path: root/src/libcharon/plugins/android/android_service.c
diff options
context:
space:
mode:
authorTobias Brunner <tobias@strongswan.org>2012-02-13 18:04:04 +0100
committerTobias Brunner <tobias@strongswan.org>2012-08-08 15:07:43 +0200
commite7ea057fd2da33ff5b55e1cebb3b5b7e361a43d7 (patch)
tree14fe49f6b232070a56b4a8ed6d9db9b7240b7ad6 /src/libcharon/plugins/android/android_service.c
parent73940eb71235f8ff8c3490d9f607db9c7defd19e (diff)
downloadstrongswan-e7ea057fd2da33ff5b55e1cebb3b5b7e361a43d7.tar.bz2
strongswan-e7ea057fd2da33ff5b55e1cebb3b5b7e361a43d7.tar.xz
Make the UDP ports charon listens for packets on (and uses as source ports) configurable.
Diffstat (limited to 'src/libcharon/plugins/android/android_service.c')
-rw-r--r--src/libcharon/plugins/android/android_service.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcharon/plugins/android/android_service.c b/src/libcharon/plugins/android/android_service.c
index 6ca7407ca..c5553f24f 100644
--- a/src/libcharon/plugins/android/android_service.c
+++ b/src/libcharon/plugins/android/android_service.c
@@ -264,7 +264,7 @@ 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", FALSE, IKEV2_UDP_PORT,
+ ike_cfg = ike_cfg_create(TRUE, FALSE, "0.0.0.0", FALSE, CHARON_UDP_PORT,
hostname, FALSE, IKEV2_UDP_PORT);
ike_cfg->add_proposal(ike_cfg, proposal_create_default(PROTO_IKE));