summaryrefslogtreecommitdiff
path: root/lib/lib_errors.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2018-06-18 08:55:06 -0400
committerQuentin Young <qlyoung@cumulusnetworks.com>2018-08-14 20:02:05 +0000
commit674c3ca8a837bf732a6a6062bea23a3ec745d971 (patch)
treeaf6152774226c3c2ee8bd93fb15f7ecf0a92f1d1 /lib/lib_errors.c
parent4d43f68aeb2d26d7ea5e69a97970c4a4545882c5 (diff)
lib: Add LIB_ERR_NS to error subsystem
Add additional information about NameSpace errors that may happen. 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 d1db7b777a..71ff53053e 100644
--- a/lib/lib_errors.c
+++ b/lib/lib_errors.c
@@ -83,6 +83,12 @@ static struct ferr_ref ferr_lib_err[] = {
.suggestion = "Open an Issue with all relevant log files and restart FRR"
},
{
+ .code = LIB_ERR_NS,
+ .title = "NameSpace Subsystem Error",
+ .description = "FRR has detected a problem with NameSpace data from the kernel as it deviates\nfrom what we would expect to happen via normal kernel messaging",
+ .suggestion = "Open an Issue with all relevant log files and restart FRR"
+ },
+ {
.code = END_FERR,
}
};