From 040c7c3a9fcaba31cc49606eb8168f2d4f92541c Mon Sep 17 00:00:00 2001 From: Donald Sharp Date: Mon, 20 Aug 2018 10:21:03 -0400 Subject: lib: Convert routemap.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 01fa27e82c..9f9c1c7c04 100644 --- a/lib/lib_errors.c +++ b/lib/lib_errors.c @@ -46,6 +46,12 @@ static struct log_ref ferr_lib_warn[] = { .description = "The Event subsystem has detected a slow process, this typically indicates that FRR is having trouble completing work in a timely manner. This can be either a misconfiguration, bug, or some combination therof.", .suggestion = "Gather log data and open an Issue", }, + { + .code = LIB_WARN_RMAP_RECURSION_LIMIT, + .title = "Reached the Route-Map Recursion Limit", + .description = "The Route-Map subsystem has detected a route-map depth of RMAP_RECURSION_LIMIT and has stopped processing", + .suggestion = "Re-work the Route-Map in question to not have so many route-map statements, or recompile FRR with a higher limit", + }, { .code = END_FERR, }, -- cgit v1.2.3