summaryrefslogtreecommitdiffstats
path: root/src/plugins/srv6-am/node.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/srv6-am/node.c')
-rw-r--r--src/plugins/srv6-am/node.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/srv6-am/node.c b/src/plugins/srv6-am/node.c
index 8643aa42532..84014c5ee8d 100644
--- a/src/plugins/srv6-am/node.c
+++ b/src/plugins/srv6-am/node.c
@@ -148,7 +148,7 @@ srv6_am_localsid_fn (vlib_main_t * vm,
n_left_from = frame->n_vectors;
next_index = node->cached_next_index;
- u32 thread_index = vlib_get_thread_index ();
+ u32 thread_index = vm->thread_index;
while (n_left_from > 0)
{