From 98fd05580ce702cae1dc403dfd45ae18a6df87cd Mon Sep 17 00:00:00 2001 From: Stephen Worley Date: Mon, 25 Feb 2019 13:58:32 -0500 Subject: zebra: Add error code for duplicate nexthops Add an error code that indicates we received a nexthop from the kernel that is identical to one it/we already have other than its ID. 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 74eddf51d0..e14f1ee58c 100644 --- a/zebra/zebra_errors.c +++ b/zebra/zebra_errors.c @@ -746,6 +746,15 @@ static struct log_ref ferr_zebra_err[] = { .suggestion = "Check the kernel's link states and routing table to see how it matches ours." }, + { + .code = EC_ZEBRA_DUPLICATE_NHG_MESSAGE, + .title = + "Duplicate Nexthop Group Message", + .description = + "Zebra received Nexthop Group message from the kernel that it is identical to one it/we already have but with a different ID.", + .suggestion = + "See if the nexthop you are trying to add is already present in the fib." + }, { .code = END_FERR, } -- cgit v1.2.3