diff options
author | Andreas Steffen <andreas.steffen@strongswan.org> | 2012-06-08 13:01:08 +0200 |
---|---|---|
committer | Andreas Steffen <andreas.steffen@strongswan.org> | 2012-06-08 21:24:41 +0200 |
commit | 1d315bddd34033fb1679697f90a9294e2ebdcb96 (patch) | |
tree | 157888b2e984bdc64a05179ccfa9d7353244dd7b /src/libcharon/plugins/load_tester | |
parent | e5f0f9ff969f867faf3fb243468d658c4ab9e154 (diff) | |
download | strongswan-1d315bddd34033fb1679697f90a9294e2ebdcb96.tar.bz2 strongswan-1d315bddd34033fb1679697f90a9294e2ebdcb96.tar.xz |
implemented the right|leftallowany feature
Diffstat (limited to 'src/libcharon/plugins/load_tester')
-rw-r--r-- | src/libcharon/plugins/load_tester/load_tester_config.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/libcharon/plugins/load_tester/load_tester_config.c b/src/libcharon/plugins/load_tester/load_tester_config.c index 75ac1ff49..d041d4cdc 100644 --- a/src/libcharon/plugins/load_tester/load_tester_config.c +++ b/src/libcharon/plugins/load_tester/load_tester_config.c @@ -251,12 +251,14 @@ static peer_cfg_t* generate_config(private_load_tester_config_t *this, uint num) if (this->port && num) { ike_cfg = ike_cfg_create(FALSE, FALSE, - this->local, this->port + num - 1, this->remote, IKEV2_NATT_PORT); + this->local, FALSE, this->port + num - 1, + this->remote, FALSE, IKEV2_NATT_PORT); } else { ike_cfg = ike_cfg_create(FALSE, FALSE, - this->local, IKEV2_UDP_PORT, this->remote, IKEV2_UDP_PORT); + this->local, FALSE, IKEV2_UDP_PORT, + this->remote, FALSE, IKEV2_UDP_PORT); } ike_cfg->add_proposal(ike_cfg, this->proposal->clone(this->proposal)); peer_cfg = peer_cfg_create("load-test", IKEV2, ike_cfg, |