diff options
| author | Stephen Worley <sworley@cumulusnetworks.com> | 2019-05-14 16:22:53 -0700 |
|---|---|---|
| committer | Stephen Worley <sworley@cumulusnetworks.com> | 2019-10-25 11:13:40 -0400 |
| commit | 7f1abf7926b71ac7c7170883d0d8d0039ba269b0 (patch) | |
| tree | 9a12e3b6a111a5a35d2936e23e8941f72044de05 /zebra/zebra_errors.c | |
| parent | 98cda54a9543ea125e5e1eea6621c453f407edb2 (diff) | |
zebra: Error if the ifp lookup fails for an NHE
If the lookup for an interface pointer fails when creating
the NHE, log an error message.
Signed-off-by: Stephen Worley <sworley@cumulusnetworks.com>
Diffstat (limited to 'zebra/zebra_errors.c')
| -rw-r--r-- | zebra/zebra_errors.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/zebra/zebra_errors.c b/zebra/zebra_errors.c index 3ca1bf3971..5a0905d591 100644 --- a/zebra/zebra_errors.c +++ b/zebra/zebra_errors.c @@ -310,6 +310,12 @@ static struct log_ref ferr_zebra_err[] = { .suggestion = "Check to see if the nexthop group on the route you tried to install is valid." }, + { + .code = EC_ZEBRA_IF_LOOKUP_FAILED, + .title = "Zebra interface lookup failed", + .description = "Zebra attempted to look up a interface for a particular vrf_id and interface index, but didn't find anything.", + .suggestion = "If you entered a command to trigger this error, make sure you entered the arguments correctly. Check your config file for any potential errors. If these look correct, seek help.", + }, /* Warnings */ { .code = EC_ZEBRAING_LM_PROTO_MISMATCH, |
