From 0351a28f2a14f542cf20088f2794d0c4144a3cc3 Mon Sep 17 00:00:00 2001 From: Donald Sharp Date: Mon, 20 Aug 2018 10:39:44 -0400 Subject: lib: Convert vrf.c to use new error-code subsystem Signed-off-by: Donald Sharp --- lib/lib_errors.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'lib/lib_errors.c') 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 @@ -58,6 +58,12 @@ static struct log_ref ferr_lib_warn[] = { .description = "The config subsystem attempted to read in it's configuration file which failed, so we are falling back to the backup config file to see if it is available", .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, }, -- cgit v1.2.3