diff options
| author | Stephen Worley <sworley@cumulusnetworks.com> | 2019-02-25 13:58:32 -0500 |
|---|---|---|
| committer | Stephen Worley <sworley@cumulusnetworks.com> | 2019-10-25 11:13:36 -0400 |
| commit | 98fd05580ce702cae1dc403dfd45ae18a6df87cd (patch) | |
| tree | f6c9f600c66829ce513db20b94897b59f46b55f0 /zebra/zebra_errors.c | |
| parent | b589493e70323b050c566f465ea3076d5a52b943 (diff) | |
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 <sworley@cumulusnetworks.com>
Diffstat (limited to 'zebra/zebra_errors.c')
| -rw-r--r-- | zebra/zebra_errors.c | 9 |
1 files changed, 9 insertions, 0 deletions
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 @@ -747,6 +747,15 @@ static struct log_ref ferr_zebra_err[] = { "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, } }; |
