aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/tlsopenssl/tls_async.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/tlsopenssl/tls_async.c')
-rw-r--r--src/plugins/tlsopenssl/tls_async.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/tlsopenssl/tls_async.c b/src/plugins/tlsopenssl/tls_async.c
index 49987baef16..89b4f77e331 100644
--- a/src/plugins/tlsopenssl/tls_async.c
+++ b/src/plugins/tlsopenssl/tls_async.c
@@ -417,7 +417,7 @@ openssl_async_node_enable_disable (u8 is_en)
foreach_vlib_main ()
{
- if (have_workers && ii != 0)
+ if (have_workers && this_vlib_main->thread_index)
{
vlib_node_set_state (this_vlib_main, tls_async_process_node.index,
state);