From c6cb18b29d50d522d54b04587b13becc8363ec5c Mon Sep 17 00:00:00 2001 From: Ole Troan Date: Wed, 19 Dec 2018 12:28:46 +0100 Subject: Stats: Updated wrong slot on new vector Change-Id: Ibf6008fd4e780a8c6fa676c7f7ba2f1cd98e72a9 Signed-off-by: Ole Troan --- src/vpp/stats/stat_segment.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/vpp/stats/stat_segment.c b/src/vpp/stats/stat_segment.c index 9b6b37b934f..793936bf08f 100644 --- a/src/vpp/stats/stat_segment.c +++ b/src/vpp/stats/stat_segment.c @@ -115,7 +115,6 @@ vlib_stats_pop_heap (void *cm_arg, void *oldheap, stat_directory_type_t type) strncpy (e.name, stat_segment_name, 128 - 1); e.type = type; vec_add1 (sm->directory_vector, e); - vector_index++; } stat_segment_directory_entry_t *ep = &sm->directory_vector[vector_index]; -- cgit 1.2.3-korg