aboutsummaryrefslogtreecommitdiffstats
path: root/src/libcharon/plugins/stroke/stroke_socket.c
diff options
context:
space:
mode:
authorTobias Brunner <tobias@strongswan.org>2017-08-24 17:02:37 +0200
committerTobias Brunner <tobias@strongswan.org>2017-11-08 16:28:28 +0100
commit6f74b8748a2d9835deb0779868969d52081e10e1 (patch)
tree37e3c32c44a8464a3c1c6e4c7340fbe05c47c608 /src/libcharon/plugins/stroke/stroke_socket.c
parentc81b87ac265eaf234e1122c424096ef56f934a7f (diff)
downloadstrongswan-6f74b8748a2d9835deb0779868969d52081e10e1.tar.bz2
strongswan-6f74b8748a2d9835deb0779868969d52081e10e1.tar.xz
counters: Move IKE event counter collection from stroke to a separate plugin
Diffstat (limited to 'src/libcharon/plugins/stroke/stroke_socket.c')
-rw-r--r--src/libcharon/plugins/stroke/stroke_socket.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/libcharon/plugins/stroke/stroke_socket.c b/src/libcharon/plugins/stroke/stroke_socket.c
index 65d345db3..c568440b7 100644
--- a/src/libcharon/plugins/stroke/stroke_socket.c
+++ b/src/libcharon/plugins/stroke/stroke_socket.c
@@ -744,7 +744,6 @@ METHOD(stroke_socket_t, destroy, void,
&this->attribute->provider);
charon->attributes->remove_handler(charon->attributes,
&this->handler->handler);
- charon->bus->remove_listener(charon->bus, &this->counter->listener);
this->cred->destroy(this->cred);
this->ca->destroy(this->ca);
this->config->destroy(this->config);
@@ -789,7 +788,7 @@ stroke_socket_t *stroke_socket_create()
&this->attribute->provider);
charon->attributes->add_handler(charon->attributes,
&this->handler->handler);
- charon->bus->add_listener(charon->bus, &this->counter->listener);
+
max_concurrent = lib->settings->get_int(lib->settings,
"%s.plugins.stroke.max_concurrent", MAX_CONCURRENT_DEFAULT,