diff options
author | Tobias Brunner <tobias@strongswan.org> | 2012-02-13 18:04:04 +0100 |
---|---|---|
committer | Tobias Brunner <tobias@strongswan.org> | 2012-08-08 15:07:43 +0200 |
commit | e7ea057fd2da33ff5b55e1cebb3b5b7e361a43d7 (patch) | |
tree | 14fe49f6b232070a56b4a8ed6d9db9b7240b7ad6 /src/libcharon/processing/jobs/migrate_job.c | |
parent | 73940eb71235f8ff8c3490d9f607db9c7defd19e (diff) | |
download | strongswan-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/processing/jobs/migrate_job.c')
-rw-r--r-- | src/libcharon/processing/jobs/migrate_job.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcharon/processing/jobs/migrate_job.c b/src/libcharon/processing/jobs/migrate_job.c index 45bac7cf8..6e5b4af0d 100644 --- a/src/libcharon/processing/jobs/migrate_job.c +++ b/src/libcharon/processing/jobs/migrate_job.c @@ -97,7 +97,7 @@ METHOD(job_t, execute, job_requeue_t, ike_sa->set_kmaddress(ike_sa, this->local, this->remote); host = this->local->clone(this->local); - host->set_port(host, IKEV2_UDP_PORT); + host->set_port(host, CHARON_UDP_PORT); ike_sa->set_my_host(ike_sa, host); host = this->remote->clone(this->remote); |