summaryrefslogtreecommitdiff
path: root/lib/lib_errors.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2018-08-20 09:27:30 -0400
committerQuentin Young <qlyoung@cumulusnetworks.com>2018-09-06 20:50:58 +0000
commita2b0f8b8034332c65403cba20fda9438a1908e79 (patch)
tree9e100fc0439c1ff7d31dc84733aad000fab9a460 /lib/lib_errors.c
parent4496fbb36ca71fef34d40f679c21690cdf0a0e24 (diff)
lib: Convert stream.c to use new error code 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 c154484bdf..d1c2140160 100644
--- a/lib/lib_errors.c
+++ b/lib/lib_errors.c
@@ -29,6 +29,12 @@ static struct log_ref ferr_lib_warn[] = {
.suggestion = "Gather Log data and open an Issue.",
},
{
+ .code = LIB_WARN_STREAM,
+ .title = "The stream subsystem has encountered an error",
+ .description = "During sanity checking stream.c has detected an error in the data associated with a particular stream",
+ .suggestion = "Gather log data and open an Issue, restart FRR",
+ },
+ {
.code = END_FERR,
},
};