From 4d43f68aeb2d26d7ea5e69a97970c4a4545882c5 Mon Sep 17 00:00:00 2001 From: Donald Sharp Date: Mon, 18 Jun 2018 08:49:36 -0400 Subject: lib, zebra: Add LIB_ERR_INTERFACE Add a error type that allows us to track bad interface states. 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 44d9ecd033..d1db7b777a 100644 --- a/lib/lib_errors.c +++ b/lib/lib_errors.c @@ -76,6 +76,12 @@ static struct ferr_ref ferr_lib_err[] = { .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 = 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, } -- cgit v1.2.3