aboutsummaryrefslogtreecommitdiffstats
path: root/src/libcharon/plugins/load_tester
diff options
context:
space:
mode:
authorTobias Brunner <tobias@strongswan.org>2012-12-24 12:59:30 +0100
committerTobias Brunner <tobias@strongswan.org>2013-01-12 11:54:32 +0100
commit365d9a6f67739bdc4c43130eec362ad97414762c (patch)
tree9faac7cbec5fe27d69f3665a7637de4444c87a1e /src/libcharon/plugins/load_tester
parent97973f860924e4472be9c842c34843cd95680642 (diff)
downloadstrongswan-365d9a6f67739bdc4c43130eec362ad97414762c.tar.bz2
strongswan-365d9a6f67739bdc4c43130eec362ad97414762c.tar.xz
Added an option that allows to force IKEv1 fragmentation
Diffstat (limited to 'src/libcharon/plugins/load_tester')
-rw-r--r--src/libcharon/plugins/load_tester/load_tester_config.c6
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 a9d399b9d..c6288c5d9 100644
--- a/src/libcharon/plugins/load_tester/load_tester_config.c
+++ b/src/libcharon/plugins/load_tester/load_tester_config.c
@@ -490,14 +490,16 @@ static peer_cfg_t* generate_config(private_load_tester_config_t *this, uint num)
{
ike_cfg = ike_cfg_create(this->version, TRUE, FALSE,
local, FALSE, this->port + num - 1,
- remote, FALSE, IKEV2_NATT_PORT, FALSE);
+ remote, FALSE, IKEV2_NATT_PORT,
+ FRAGMENTATION_NO);
}
else
{
ike_cfg = ike_cfg_create(this->version, TRUE, FALSE,
local, FALSE,
charon->socket->get_port(charon->socket, FALSE),
- remote, FALSE, IKEV2_UDP_PORT, FALSE);
+ remote, FALSE, IKEV2_UDP_PORT,
+ FRAGMENTATION_NO);
}
ike_cfg->add_proposal(ike_cfg, this->proposal->clone(this->proposal));
peer_cfg = peer_cfg_create("load-test", ike_cfg,