summaryrefslogtreecommitdiff
path: root/lib/lib_errors.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2018-06-14 09:35:09 -0400
committerQuentin Young <qlyoung@cumulusnetworks.com>2018-08-14 20:02:05 +0000
commit220d736886228043c8d3503eab9cc9831d9c2834 (patch)
treec97f3b4e835e6383e52cdee384b74dda8355b45f /lib/lib_errors.c
parentab99c8e2b87e9d0ecfb91f6a05010948f9949cee (diff)
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 <sharpd@cumulusnetworks.com>
Diffstat (limited to 'lib/lib_errors.c')
-rw-r--r--lib/lib_errors.c6
1 files changed, 6 insertions, 0 deletions
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
@@ -71,6 +71,12 @@ static struct ferr_ref ferr_lib_err[] = {
.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,
}
};