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 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,
}
};
diff --git a/zebra/zebra_errors.h b/zebra/zebra_errors.h
index 37e0a22919..44d61fc9b0 100644
--- a/zebra/zebra_errors.h
+++ b/zebra/zebra_errors.h
@@ -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);