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/plugins/ha/ha_tunnel.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/plugins/ha/ha_tunnel.c')
-rw-r--r-- | src/libcharon/plugins/ha/ha_tunnel.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcharon/plugins/ha/ha_tunnel.c b/src/libcharon/plugins/ha/ha_tunnel.c index d1edb3e55..200733cac 100644 --- a/src/libcharon/plugins/ha/ha_tunnel.c +++ b/src/libcharon/plugins/ha/ha_tunnel.c @@ -203,7 +203,7 @@ static void setup_tunnel(private_ha_tunnel_t *this, lib->credmgr->add_set(lib->credmgr, &this->creds.public); /* create config and backend */ - ike_cfg = ike_cfg_create(FALSE, FALSE, local, FALSE, IKEV2_UDP_PORT, + ike_cfg = ike_cfg_create(FALSE, FALSE, local, FALSE, CHARON_UDP_PORT, remote, FALSE, IKEV2_UDP_PORT); ike_cfg->add_proposal(ike_cfg, proposal_create_default(PROTO_IKE)); peer_cfg = peer_cfg_create("ha", IKEV2, ike_cfg, CERT_NEVER_SEND, |