Send certificate requests in load-tester

This commit is contained in:
Martin Willi
2012-10-24 13:25:45 +02:00
parent 0f3c5f8502
commit c4894cc172
@@ -310,13 +310,13 @@ static peer_cfg_t* generate_config(private_load_tester_config_t *this, uint num)
if (this->port && num)
{
ike_cfg = ike_cfg_create(this->version, FALSE, FALSE,
ike_cfg = ike_cfg_create(this->version, TRUE, FALSE,
this->local, FALSE, this->port + num - 1,
this->remote, FALSE, IKEV2_NATT_PORT);
}
else
{
ike_cfg = ike_cfg_create(this->version, FALSE, FALSE,
ike_cfg = ike_cfg_create(this->version, TRUE, FALSE,
this->local, FALSE,
charon->socket->get_port(charon->socket, FALSE),
this->remote, FALSE, IKEV2_UDP_PORT);