diff options
| author | Stephen Worley <sworley@cumulusnetworks.com> | 2019-02-14 17:42:25 -0500 |
|---|---|---|
| committer | Stephen Worley <sworley@cumulusnetworks.com> | 2019-10-25 11:13:36 -0400 |
| commit | 347bb8e26976758a3324c26c661479624eb09080 (patch) | |
| tree | 56ca9ae6d63b1708be9f8d3d65dba433992f7cb2 /zebra/zebra_errors.c | |
| parent | 9a0d4dd39be7cbed048e45b5a27ceb81608d76f6 (diff) | |
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 <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 a7e5147af3..65be47f4bc 100644 --- a/zebra/zebra_errors.c +++ b/zebra/zebra_errors.c @@ -729,6 +729,15 @@ static struct log_ref ferr_zebra_err[] = { "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, } }; |
