diff options
author | JingLiuZTE <liu.jing5@zte.com.cn> | 2017-07-24 10:53:31 +0800 |
---|---|---|
committer | Damjan Marion <dmarion.lists@gmail.com> | 2017-07-26 14:41:25 +0000 |
commit | 30af5da7522b38e9d4a4e9c906fd5f1c05088212 (patch) | |
tree | 81dce2e815f3773ccd64ffdd341c8b8db1528de1 /src | |
parent | c3fbd9566086509b68958bf7d8cb98f5b59d3b1c (diff) |
VPP-905: Wrong define used in function start_workers.
Change-Id: I6a5faebb63e9360cebfcfb1bc3f3c0eb6b15e937
Signed-off-by: JingLiuZTE <liu.jing5@zte.com.cn>
Diffstat (limited to 'src')
-rw-r--r-- | src/vlib/threads.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/vlib/threads.c b/src/vlib/threads.c index 0c775e2d..0661d89a 100644 --- a/src/vlib/threads.c +++ b/src/vlib/threads.c @@ -642,7 +642,8 @@ start_workers (vlib_main_t * vm) } nm_clone->nodes_by_type[VLIB_NODE_TYPE_INTERNAL] = vec_dup (nm->nodes_by_type[VLIB_NODE_TYPE_INTERNAL]); - vec_foreach (rt, nm_clone->nodes_by_type[VLIB_NODE_TYPE_INPUT]) + vec_foreach (rt, + nm_clone->nodes_by_type[VLIB_NODE_TYPE_INTERNAL]) { vlib_node_t *n = vlib_get_node (vm, rt->node_index); rt->thread_index = vm_clone->thread_index; |