summaryrefslogtreecommitdiffstats
path: root/src/vnet/l2tp/decap.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/vnet/l2tp/decap.c')
-rw-r--r--src/vnet/l2tp/decap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vnet/l2tp/decap.c b/src/vnet/l2tp/decap.c
index e8986935e93..4610412954d 100644
--- a/src/vnet/l2tp/decap.c
+++ b/src/vnet/l2tp/decap.c
@@ -149,7 +149,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) +
sizeof (ethernet_header_t));