From 347bb8e26976758a3324c26c661479624eb09080 Mon Sep 17 00:00:00 2001 From: Stephen Worley Date: Thu, 14 Feb 2019 17:42:25 -0500 Subject: zebra: Add error code for bad nhg messages from the kernel Needed an error code for nhg messages from the kernel. Signed-off-by: Stephen Worley --- zebra/zebra_errors.c | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'zebra/zebra_errors.c') diff --git a/zebra/zebra_errors.c b/zebra/zebra_errors.c index a7e5147af3..65be47f4bc 100644 --- a/zebra/zebra_errors.c +++ b/zebra/zebra_errors.c @@ -728,6 +728,15 @@ static struct log_ref ferr_zebra_err[] = { .suggestion = "Check network topology to detect duplicate host IP for correctness.", }, + { + .code = EC_ZEBRA_BAD_NHG_MESSAGE, + .title = + "Bad Nexthop Group Message", + .description = + "Zebra received Nexthop Group message from the kernel that it cannot process.", + .suggestion = + "Check the kernel's link states and routing table to see how it matches ours." + }, { .code = END_FERR, } -- cgit v1.2.3