From 220d736886228043c8d3503eab9cc9831d9c2834 Mon Sep 17 00:00:00 2001 From: Donald Sharp Date: Thu, 14 Jun 2018 09:35:09 -0400 Subject: lib: Add LIB_ERR_SNMP Add code to indicate a SNMP error of some sort that needs to be handled and addressed. Signed-off-by: Donald Sharp --- lib/lib_errors.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'lib/lib_errors.c') diff --git a/lib/lib_errors.c b/lib/lib_errors.c index 0c36d801d8..4ae69589a2 100644 --- a/lib/lib_errors.c +++ b/lib/lib_errors.c @@ -70,6 +70,12 @@ static struct ferr_ref ferr_lib_err[] = { .description = "FRR has detected a problem with the specified configuration file", .suggestion = "Ensure configuration file exists and has correct permissions for operations\nAdditionally ensure that all config lines are correct as well", }, + { + .code = LIB_ERR_SNMP, + .title = "SNMP subsystem Error", + .description = "FRR has detected a problem with the snmp library it uses\nA callback from this subsystem has indicated some error", + .suggestion = "Examine callback message and ensure snmp is properly setup and working" + }, { .code = END_FERR, } -- cgit v1.2.3