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/uci | |
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/uci')
-rw-r--r-- | src/libcharon/plugins/uci/uci_config.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libcharon/plugins/uci/uci_config.c b/src/libcharon/plugins/uci/uci_config.c index 9b0fd73ad..9dc0cfcde 100644 --- a/src/libcharon/plugins/uci/uci_config.c +++ b/src/libcharon/plugins/uci/uci_config.c @@ -169,7 +169,7 @@ METHOD(enumerator_t, peer_enumerator_enumerate, bool, { DESTROY_IF(this->peer_cfg); ike_cfg = ike_cfg_create(FALSE, FALSE, - local_addr, FALSE, IKEV2_UDP_PORT, + local_addr, FALSE, CHARON_UDP_PORT, remote_addr, FALSE, IKEV2_UDP_PORT); ike_cfg->add_proposal(ike_cfg, create_proposal(ike_proposal, PROTO_IKE)); this->peer_cfg = peer_cfg_create( @@ -267,7 +267,7 @@ METHOD(enumerator_t, ike_enumerator_enumerate, bool, { DESTROY_IF(this->ike_cfg); this->ike_cfg = ike_cfg_create(FALSE, FALSE, - local_addr, FALSE, IKEV2_UDP_PORT, + local_addr, FALSE, CHARON_UDP_PORT, remote_addr, FALSE, IKEV2_UDP_PORT); this->ike_cfg->add_proposal(this->ike_cfg, create_proposal(ike_proposal, PROTO_IKE)); |