summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--zebra/zebra_errors.c9
-rw-r--r--zebra/zebra_errors.h1
2 files changed, 10 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,
}
};
diff --git a/zebra/zebra_errors.h b/zebra/zebra_errors.h
index 222055dd81..f35c465975 100644
--- a/zebra/zebra_errors.h
+++ b/zebra/zebra_errors.h
@@ -125,6 +125,7 @@ enum zebra_log_refs {
EC_ZEBRA_DUP_MAC_DETECTED,
EC_ZEBRA_DUP_IP_INHERIT_DETECTED,
EC_ZEBRA_DUP_IP_DETECTED,
+ EC_ZEBRA_BAD_NHG_MESSAGE,
};
void zebra_error_init(void);