stats: fix node name compare error when updating stats segment
Type: fix Signed-off-by: Xiaoming Jiang <jiangxiaoming@outlook.com> Change-Id: Ib39aa345415720dd05a1b3e12e3e03eac43c5606
This commit is contained in:

committed by
Damjan Marion

parent
8b213ee652
commit
73507dd1aa
@ -52,7 +52,7 @@ update_node_counters (vlib_stats_segment_t *sm)
|
||||
vec_validate (node_data, n_nodes - 1);
|
||||
|
||||
for (i = 0; i < n_nodes; i++)
|
||||
if (vec_is_equal (node_data[i].name, node_dups[0][i]) == 0)
|
||||
if (vec_is_equal (node_data[i].name, node_dups[0][i]->name) == 0)
|
||||
bmp = clib_bitmap_set (bmp, i, 1);
|
||||
|
||||
if (bmp)
|
||||
|
Reference in New Issue
Block a user