diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2018-08-20 10:31:45 -0400 |
|---|---|---|
| committer | Quentin Young <qlyoung@cumulusnetworks.com> | 2018-09-06 20:50:58 +0000 |
| commit | 3469901633595a1dd1761fd4f0742dcf5615568b (patch) | |
| tree | 0fb027a91a123a7283b1004fed86589fa5ac5ed0 /lib/lib_errors.c | |
| parent | 040c7c3a9fcaba31cc49606eb8168f2d4f92541c (diff) | |
lib: Convert vty.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.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/lib_errors.c b/lib/lib_errors.c index 9f9c1c7c04..3ab8ac80f3 100644 --- a/lib/lib_errors.c +++ b/lib/lib_errors.c @@ -53,6 +53,12 @@ static struct log_ref ferr_lib_warn[] = { .suggestion = "Re-work the Route-Map in question to not have so many route-map statements, or recompile FRR with a higher limit", }, { + .code = LIB_WARN_BACKUP_CONFIG, + .title = "Unable to open configuration file", + .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 = END_FERR, }, }; |
