summaryrefslogtreecommitdiffstats
path: root/lib/lib_errors.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2018-06-18 14:55:06 +0200
committerQuentin Young <qlyoung@cumulusnetworks.com>2018-08-14 22:02:05 +0200
commit674c3ca8a837bf732a6a6062bea23a3ec745d971 (patch)
treeaf6152774226c3c2ee8bd93fb15f7ecf0a92f1d1 /lib/lib_errors.c
parentlib, zebra: Add LIB_ERR_INTERFACE (diff)
downloadfrr-674c3ca8a837bf732a6a6062bea23a3ec745d971.tar.xz
frr-674c3ca8a837bf732a6a6062bea23a3ec745d971.zip
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 d1db7b777..71ff53053 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,
}
};