From ab99c8e2b87e9d0ecfb91f6a05010948f9949cee Mon Sep 17 00:00:00 2001 From: Donald Sharp Date: Thu, 14 Jun 2018 09:21:11 -0400 Subject: lib: Add LIB_ERR_VTY Add a error code for when the vty subsystem detects an error. 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 f9bfa17b2e..0c36d801d8 100644 --- a/lib/lib_errors.c +++ b/lib/lib_errors.c @@ -64,6 +64,12 @@ static struct ferr_ref ferr_lib_err[] = { .description = "FRR has detected a error from using a vital system call and has probably\nalready exited", .suggestion = "Ensure permissions are correct for FRR and FRR user and groups are correct\nAdditionally check that system resources are still available" }, + { + .code = LIB_ERR_VTY, + .title = "VTY subsystem Error", + .description = "FRR has detected a problem with the specified configuration file", + .suggestion = "Ensure configuration file exists and has correct permissions for operations\nAdditionally ensure that all config lines are correct as well", + }, { .code = END_FERR, } -- cgit v1.2.3