summaryrefslogtreecommitdiffstats
path: root/src/vnet/l2tp/encap.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/vnet/l2tp/encap.c')
-rw-r--r--src/vnet/l2tp/encap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vnet/l2tp/encap.c b/src/vnet/l2tp/encap.c
index ed7a9580de1..dcdfde4b564 100644
--- a/src/vnet/l2tp/encap.c
+++ b/src/vnet/l2tp/encap.c
@@ -124,7 +124,7 @@ last_stage (vlib_main_t * vm, vlib_node_runtime_t * node, u32 bi)
/* per-mapping byte stats include the ethernet header */
vlib_increment_combined_counter (&lm->counter_main,
- os_get_cpu_number (),
+ vlib_get_thread_index (),
counter_index, 1 /* packet_increment */ ,
vlib_buffer_length_in_chain (vm, b));