summaryrefslogtreecommitdiffstats
path: root/src/vlib/error.h
diff options
context:
space:
mode:
authorDamjan Marion <damarion@cisco.com>2022-04-06 11:07:35 +0200
committerDamjan Marion <dmarion@me.com>2022-04-06 10:52:42 +0000
commit8271dfdff3cf65e3b077e149d4600bd90d2b4b03 (patch)
tree81c02cedbce9d1c8b67815110e573eae4923f0dc /src/vlib/error.h
parent6e061e784d85c8aedea8987c98c86ec7c1b84321 (diff)
interface: unregister node counters on interface delete
Type: fix Change-Id: I2562ae5833b542c29bcd5025a9a6756e5de95a42 Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'src/vlib/error.h')
-rw-r--r--src/vlib/error.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vlib/error.h b/src/vlib/error.h
index c7e7ce49269..b5cc264b60d 100644
--- a/src/vlib/error.h
+++ b/src/vlib/error.h
@@ -79,6 +79,7 @@ typedef struct
void vlib_register_errors (struct vlib_main_t *vm, u32 node_index,
u32 n_errors, char *error_strings[],
vlib_error_desc_t counters[]);
+void vlib_unregister_errors (struct vlib_main_t *vm, u32 node_index);
unformat_function_t unformat_vlib_error;