diff options
Diffstat (limited to 'vlib')
-rw-r--r-- | vlib/vlib/threads.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/vlib/vlib/threads.c b/vlib/vlib/threads.c index 72102561d25..1f3c141b040 100644 --- a/vlib/vlib/threads.c +++ b/vlib/vlib/threads.c @@ -1142,6 +1142,7 @@ show_threads_fn (vlib_main_t * vm, w->registration ? w->registration->name : "", w->lwp); +#if DPDK==1 int lcore = w->dpdk_lcore_id; if (lcore > -1) { @@ -1165,7 +1166,7 @@ show_threads_fn (vlib_main_t * vm, line = format(line, "unknown"); } } - +#endif vlib_cli_output(vm, "%v", line); vec_free(line); } |