diff options
author | Tobias Brunner <tobias@strongswan.org> | 2015-07-16 17:21:54 +0200 |
---|---|---|
committer | Tobias Brunner <tobias@strongswan.org> | 2015-08-21 18:21:13 +0200 |
commit | ff0abde9ede56a2c58529aee0757e831963403de (patch) | |
tree | fb2cc6aac47abae299df78fc2019f1e3fb2ebec7 /src/libcharon/plugins/load_tester | |
parent | 471a996a3e6e6081005484bca4099776758ca892 (diff) | |
download | strongswan-ff0abde9ede56a2c58529aee0757e831963403de.tar.bz2 strongswan-ff0abde9ede56a2c58529aee0757e831963403de.tar.xz |
controller: Optionally adhere to init limits also when initiating IKE_SAs
Diffstat (limited to 'src/libcharon/plugins/load_tester')
-rw-r--r-- | src/libcharon/plugins/load_tester/load_tester_control.c | 2 | ||||
-rw-r--r-- | src/libcharon/plugins/load_tester/load_tester_plugin.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/libcharon/plugins/load_tester/load_tester_control.c b/src/libcharon/plugins/load_tester/load_tester_control.c index 5f089f5db..24076d443 100644 --- a/src/libcharon/plugins/load_tester/load_tester_control.c +++ b/src/libcharon/plugins/load_tester/load_tester_control.c @@ -239,7 +239,7 @@ static bool on_accept(private_load_tester_control_t *this, stream_t *io) switch (charon->controller->initiate(charon->controller, peer_cfg, child_cfg->get_ref(child_cfg), - (void*)initiate_cb, listener, 0)) + (void*)initiate_cb, listener, 0, FALSE)) { case NEED_MORE: /* Callback returns FALSE once it got track of this IKE_SA. diff --git a/src/libcharon/plugins/load_tester/load_tester_plugin.c b/src/libcharon/plugins/load_tester/load_tester_plugin.c index e684f22ce..c7380b974 100644 --- a/src/libcharon/plugins/load_tester/load_tester_plugin.c +++ b/src/libcharon/plugins/load_tester/load_tester_plugin.c @@ -152,7 +152,7 @@ static job_requeue_t do_load_test(private_load_tester_plugin_t *this) charon->controller->initiate(charon->controller, peer_cfg, child_cfg->get_ref(child_cfg), - NULL, NULL, 0); + NULL, NULL, 0, FALSE); if (s) { sleep(s); |