Send certificate requests in load-tester
This commit is contained in:
@@ -310,13 +310,13 @@ static peer_cfg_t* generate_config(private_load_tester_config_t *this, uint num)
|
|||||||
|
|
||||||
if (this->port && 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->local, FALSE, this->port + num - 1,
|
||||||
this->remote, FALSE, IKEV2_NATT_PORT);
|
this->remote, FALSE, IKEV2_NATT_PORT);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
ike_cfg = ike_cfg_create(this->version, FALSE, FALSE,
|
ike_cfg = ike_cfg_create(this->version, TRUE, FALSE,
|
||||||
this->local, FALSE,
|
this->local, FALSE,
|
||||||
charon->socket->get_port(charon->socket, FALSE),
|
charon->socket->get_port(charon->socket, FALSE),
|
||||||
this->remote, FALSE, IKEV2_UDP_PORT);
|
this->remote, FALSE, IKEV2_UDP_PORT);
|
||||||
|
|||||||
Reference in New Issue
Block a user