Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
vlib: address vlib_error_t scaling issue
[vpp.git]
/
src
/
plugins
/
map
/
map.c
diff --git
a/src/plugins/map/map.c
b/src/plugins/map/map.c
index
d3ae23b
..
2f036da
100644
(file)
--- a/
src/plugins/map/map.c
+++ b/
src/plugins/map/map.c
@@
-1086,7
+1086,7
@@
map_error_counter_get (u32 node_index, map_error_t map_error)
vlib_node_t *n = vlib_get_node (vm, node_index);
u32 ci;
- ci = vlib_error_get_code (e);
+ ci = vlib_error_get_code (
&vm->node_main,
e);
ASSERT (ci < n->n_errors);
ci += n->error_heap_index;