]> git.ipfire.org Git - thirdparty/strongswan.git/commitdiff
Send certificate requests in load-tester
authorMartin Willi <martin@revosec.ch>
Fri, 19 Oct 2012 13:51:55 +0000 (15:51 +0200)
committerMartin Willi <martin@revosec.ch>
Wed, 24 Oct 2012 11:25:45 +0000 (13:25 +0200)
src/libcharon/plugins/load_tester/load_tester_config.c

index c7c91bc751294eed42ff1bcf94996230c0cfa70c..061d68c908de556b10f39b3681be60a0da6ced4d 100644 (file)
@@ -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);