summaryrefslogtreecommitdiffstats
path: root/lib/lib_errors.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2018-06-14 15:35:09 +0200
committerQuentin Young <qlyoung@cumulusnetworks.com>2018-08-14 22:02:05 +0200
commit220d736886228043c8d3503eab9cc9831d9c2834 (patch)
treec97f3b4e835e6383e52cdee384b74dda8355b45f /lib/lib_errors.c
parentlib: Add LIB_ERR_VTY (diff)
downloadfrr-220d736886228043c8d3503eab9cc9831d9c2834.tar.xz
frr-220d736886228043c8d3503eab9cc9831d9c2834.zip
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 0c36d801d..4ae69589a 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,
}
};