summaryrefslogtreecommitdiffstats
path: root/src/vlib/unix
diff options
context:
space:
mode:
Diffstat (limited to 'src/vlib/unix')
-rw-r--r--src/vlib/unix/main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vlib/unix/main.c b/src/vlib/unix/main.c
index f286c870b80..7e868f99cc2 100644
--- a/src/vlib/unix/main.c
+++ b/src/vlib/unix/main.c
@@ -626,6 +626,7 @@ vlib_unix_main (int argc, char *argv[])
vlib_thread_stack_init (0);
__os_thread_index = 0;
+ vm->thread_index = 0;
i = clib_calljmp (thread0, (uword) vm,
(void *) (vlib_thread_stacks[0] +