summaryrefslogtreecommitdiffstats
path: root/lib/lib_errors.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2018-06-18 15:25:03 +0200
committerQuentin Young <qlyoung@cumulusnetworks.com>2018-08-14 22:02:05 +0200
commit357743576d39f756849cd01e4fdd23f350a89370 (patch)
tree4d66107e31518ba77cbdfcad0e44b62ac63e06fb /lib/lib_errors.c
parentlib: Add LIB_ERR_DEVELOPMENT (diff)
downloadfrr-357743576d39f756849cd01e4fdd23f350a89370.tar.xz
frr-357743576d39f756849cd01e4fdd23f350a89370.zip
lib: Add LIB_ERR_ZMQ
Add new error event for when we detect an issue within the ZMQ subsystem. 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 ae4635673..d45e21ddc 100644
--- a/lib/lib_errors.c
+++ b/lib/lib_errors.c
@@ -95,6 +95,12 @@ static struct ferr_ref ferr_lib_err[] = {
.suggestion = "Open an Issue with all relevant log files"
},
{
+ .code = LIB_ERR_ZMQ,
+ .title = "ZMQ Subsystem Error",
+ .description = "FRR has detected an issue with the Zero MQ subsystem and ZeroMQ\nis not working properly now",
+ .suggestion = "Open an Issue with all relevant log files and restart FRR"
+ },
+ {
.code = END_FERR,
}
};