summaryrefslogtreecommitdiffstats
path: root/src/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/quic/quic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/quic/quic.c b/src/plugins/quic/quic.c
index c4ef4598c10..63ff9847362 100644
--- a/src/plugins/quic/quic.c
+++ b/src/plugins/quic/quic.c
@@ -1318,7 +1318,7 @@ quic_connect_connection (session_endpoint_cfg_t * sep)
return SESSION_E_NOEXTCFG;
/* Use pool on thread 1 if we have workers because of UDP */
- thread_index = vlib_num_workers () ? 1 : 0;
+ thread_index = transport_cl_thread ();
ccfg = &sep->ext_cfg->crypto;
clib_memset (cargs, 0, sizeof (*cargs));