summaryrefslogtreecommitdiffstats
path: root/src/vnet/interface.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/vnet/interface.c')
-rw-r--r--src/vnet/interface.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/vnet/interface.c b/src/vnet/interface.c
index 32fb1f2e64a..1d59a96219f 100644
--- a/src/vnet/interface.c
+++ b/src/vnet/interface.c
@@ -792,10 +792,9 @@ setup_tx_node (vlib_main_t * vm,
n->format_trace = dev_class->format_tx_trace;
- /// XXX: Update this to use counter structure
- vlib_register_errors (vm, node_index,
- dev_class->tx_function_n_errors,
- dev_class->tx_function_error_strings, 0);
+ vlib_register_errors (vm, node_index, dev_class->tx_function_n_errors,
+ dev_class->tx_function_error_strings,
+ dev_class->tx_function_error_counters);
}
static void
f='#n142'>142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167