vcl: mt detection and cleanup
Type: improvement
Signed-off-by: Florin Coras <fcoras@cisco.com>
Change-Id: I521c110fd4d7445bd585c96d4c768f16a0a7d3b8
diff --git a/src/vcl/vcl_cfg.c b/src/vcl/vcl_cfg.c
index a94c874..f7e271b 100644
--- a/src/vcl/vcl_cfg.c
+++ b/src/vcl/vcl_cfg.c
@@ -498,10 +498,11 @@
VCFG_DBG (0, "VCL<%d>: configured tls-engine %u (0x%x)",
getpid (), vcl_cfg->tls_engine, vcl_cfg->tls_engine);
}
- else if (unformat (line_input, "multi-thread"))
+ else if (unformat (line_input, "multi-thread-workers"))
{
- vcl_cfg->mt_supported = 1;
- VCFG_DBG (0, "VCL<%d>: configured with multithread", getpid ());
+ vcl_cfg->mt_wrk_supported = 1;
+ VCFG_DBG (0, "VCL<%d>: configured with multithread workers",
+ getpid ());
}
else if (unformat (line_input, "}"))
{