diff options
Diffstat (limited to 'src/plugins')
-rw-r--r-- | src/plugins/memif/device.c | 2 | ||||
-rw-r--r-- | src/plugins/memif/node.c | 2 | ||||
-rw-r--r-- | src/plugins/nat/pnat/tests/pnat_test_stubs.h | 2 |
3 files changed, 3 insertions, 3 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 _ diff --git a/src/plugins/nat/pnat/tests/pnat_test_stubs.h b/src/plugins/nat/pnat/tests/pnat_test_stubs.h index 1b7450146f5..bfe1838ffa4 100644 --- a/src/plugins/nat/pnat/tests/pnat_test_stubs.h +++ b/src/plugins/nat/pnat/tests/pnat_test_stubs.h @@ -38,7 +38,7 @@ u8 *format_ip4_address(u8 *s, va_list *args) { u8 *format_pnat_match_tuple(u8 *s, va_list *args) { return 0; } u8 *format_pnat_rewrite_tuple(u8 *s, va_list *args) { return 0; } -vl_counter_t pnat_error_counters[10]; +vlib_error_desc_t pnat_error_counters[10]; int ip4_sv_reass_enable_disable_with_refcnt(u32 sw_if_index, int is_enable) { return 0; |