Make the UDP ports charon listens for packets on (and uses as source ports) configurable.
[strongswan.git] / src / libcharon / plugins / load_tester / load_tester_config.c
index d041d4c..2e02fb5 100644 (file)
@@ -257,7 +257,7 @@ static peer_cfg_t* generate_config(private_load_tester_config_t *this, uint num)
        else
        {
                ike_cfg = ike_cfg_create(FALSE, FALSE,
-                                                                this->local, FALSE, IKEV2_UDP_PORT,
+                                                                this->local, FALSE, CHARON_UDP_PORT,
                                                                 this->remote, FALSE, IKEV2_UDP_PORT);
        }
        ike_cfg->add_proposal(ike_cfg, this->proposal->clone(this->proposal));