summaryrefslogtreecommitdiff
path: root/lib/lib_errors.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2018-08-20 10:39:44 -0400
committerQuentin Young <qlyoung@cumulusnetworks.com>2018-09-06 20:50:58 +0000
commit0351a28f2a14f542cf20088f2794d0c4144a3cc3 (patch)
treefb84b5cff9d36fbc35748822000f463d5a7ca336 /lib/lib_errors.c
parentff9d9d5ba1acf0559bed1e8977147f541b0010ae (diff)
lib: Convert vrf.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 3ab8ac80f3..b27f9391ad 100644
--- a/lib/lib_errors.c
+++ b/lib/lib_errors.c
@@ -59,6 +59,12 @@ static struct log_ref ferr_lib_warn[] = {
.suggestion = "Create configuration file",
},
{
+ .code = LIB_WARN_VRF_LENGTH,
+ .title = "The VRF subsystem has encountered a parsing error",
+ .description = "The VRF subsystem, during initialization, has found a parsing error with input it has received",
+ .suggestion = "Check the length of the vrf name and adjust accordingly",
+ },
+ {
.code = END_FERR,
},
};