summaryrefslogtreecommitdiffstats
path: root/src/plugins/memif
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/memif')
-rw-r--r--src/plugins/memif/device.c2
-rw-r--r--src/plugins/memif/node.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/memif/device.c b/src/plugins/memif/device.c
index 872660396d0..d6d4ae3780b 100644
--- a/src/plugins/memif/device.c
+++ b/src/plugins/memif/device.c
@@ -40,7 +40,7 @@ typedef enum
MEMIF_TX_N_ERROR,
} memif_tx_func_error_t;
-static vl_counter_t memif_tx_func_error_counters[] = {
+static vlib_error_desc_t memif_tx_func_error_counters[] = {
#define _(f, n, s, d) { #n, d, VL_COUNTER_SEVERITY_##s },
foreach_memif_tx_func_error
#undef _
diff --git a/src/plugins/memif/node.c b/src/plugins/memif/node.c
index 84bc63fc7c3..7c4de8b8564 100644
--- a/src/plugins/memif/node.c
+++ b/src/plugins/memif/node.c
@@ -43,7 +43,7 @@ typedef enum
MEMIF_INPUT_N_ERROR,
} memif_input_error_t;
-static vl_counter_t memif_input_error_counters[] = {
+static vlib_error_desc_t memif_input_error_counters[] = {
#define _(f, n, s, d) { #n, d, VL_COUNTER_SEVERITY_##s },
foreach_memif_input_error
#undef _