diff options
author | Ole Troan <ot@cisco.com> | 2021-03-10 12:52:53 +0100 |
---|---|---|
committer | Damjan Marion <dmarion@me.com> | 2021-05-06 11:10:55 +0000 |
commit | f09d655101d2400df91d2a388168b925eea0dc01 (patch) | |
tree | 7a151ef2d7e723b72ed211955bab8940a5ee9fe8 /src/vlib | |
parent | 36f7a6aeb021a549f2d684868303c9891bc0dd00 (diff) |
memif: add severity to counters
Also rename counters in stat segment to make them more filesystem friendly.
Type: improvement
Signed-off-by: Ole Troan <ot@cisco.com>
Change-Id: I8a3f3ec318931f5475fcb181f8b4a079a1fa4b9c
Signed-off-by: Ole Troan <ot@cisco.com>
Diffstat (limited to 'src/vlib')
-rw-r--r-- | src/vlib/error.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vlib/error.c b/src/vlib/error.c index 1a84e7e6801..f93b9a34d09 100644 --- a/src/vlib/error.c +++ b/src/vlib/error.c @@ -144,7 +144,7 @@ vlib_register_errors (vlib_main_t * vm, int i; for (i = 0; i < n_errors; i++) { - counters[i].name = error_strings[i]; // XXX Make name saner + counters[i].name = error_strings[i]; counters[i].desc = error_strings[i]; counters[i].severity = VL_COUNTER_SEVERITY_ERROR; } |