mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-04 00:59:13 +00:00
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>
This commit is contained in:
parent
b589493e70
commit
98fd05580c
@ -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,
|
||||
}
|
||||
|
@ -127,6 +127,7 @@ enum zebra_log_refs {
|
||||
EC_ZEBRA_DUP_IP_INHERIT_DETECTED,
|
||||
EC_ZEBRA_DUP_IP_DETECTED,
|
||||
EC_ZEBRA_BAD_NHG_MESSAGE,
|
||||
EC_ZEBRA_DUPLICATE_NHG_MESSAGE,
|
||||
};
|
||||
|
||||
void zebra_error_init(void);
|
||||
|
Loading…
Reference in New Issue
Block a user