aboutsummaryrefslogtreecommitdiffstats
path: root/src/vlib
diff options
context:
space:
mode:
authorFilip Tehlar <ftehlar@cisco.com>2021-10-06 09:47:41 +0000
committerFlorin Coras <florin.coras@gmail.com>2021-10-06 17:54:32 +0000
commit0c4931cb351929a1ccdb6b29431def3705f101d7 (patch)
treed87b37202e8d9fe83c7a81634bd5c908c3711f32 /src/vlib
parent5e6a1651c4759eac56a0409a75e6d3b75511d234 (diff)
tcp: fix severity info
Type: fix Signed-off-by: Filip Tehlar <ftehlar@cisco.com> Signed-off-by: Florin Coras <fcoras@cisco.com> Change-Id: Ibe39bc045c3b154209a83b59ef95a37c61b32c0c
Diffstat (limited to 'src/vlib')
-rw-r--r--src/vlib/error.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/vlib/error.c b/src/vlib/error.c
index 97cb0b52192..9a9ca4a535d 100644
--- a/src/vlib/error.c
+++ b/src/vlib/error.c
@@ -306,11 +306,11 @@ show_errors (vlib_main_t * vm,
if (verbose)
vlib_cli_output (vm, "%10lu%=35v%=35s%=10s%=6d", c, n->name,
- em->counters_heap[i].name,
+ em->counters_heap[i].desc,
sev2str (em->counters_heap[i].severity), i);
else
vlib_cli_output (vm, "%10lu%=35v%=35s%=10s", c, n->name,
- em->counters_heap[i].name,
+ em->counters_heap[i].desc,
sev2str (em->counters_heap[i].severity));
}
}
@@ -330,7 +330,7 @@ show_errors (vlib_main_t * vm,
{
if (verbose)
vlib_cli_output (vm, "%10lu%=40v%=20s%=10d", sums[i], n->name,
- em->counters_heap[i].name, i);
+ em->counters_heap[i].desc, i);
}
}
}