summaryrefslogtreecommitdiff
path: root/lib/lib_errors.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2018-06-18 08:49:36 -0400
committerQuentin Young <qlyoung@cumulusnetworks.com>2018-08-14 20:02:05 +0000
commit4d43f68aeb2d26d7ea5e69a97970c4a4545882c5 (patch)
treecc713f5f29402d72a1d49e0a6ae9b2ced4ee9374 /lib/lib_errors.c
parent174482ef377034d2ab3c14df0b4f4191731f1316 (diff)
lib, zebra: Add LIB_ERR_INTERFACE
Add a error type that allows us to track bad interface states. 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 44d9ecd033..d1db7b777a 100644
--- a/lib/lib_errors.c
+++ b/lib/lib_errors.c
@@ -77,6 +77,12 @@ static struct ferr_ref ferr_lib_err[] = {
.suggestion = "Examine callback message and ensure snmp is properly setup and working"
},
{
+ .code = LIB_ERR_INTERFACE,
+ .title = "Interface Subsystem Error",
+ .description = "FRR has detected a problem with interface data from the kernel as it deviates\nfrom what we would expect to happen via normal netlink messaging",
+ .suggestion = "Open an Issue with all relevant log files and restart FRR"
+ },
+ {
.code = END_FERR,
}
};