diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2018-08-20 21:52:55 -0400 |
|---|---|---|
| committer | Quentin Young <qlyoung@cumulusnetworks.com> | 2018-09-06 20:50:58 +0000 |
| commit | 89f60109a7fc7f8d5a1280379915cdd174af84c9 (patch) | |
| tree | 1157c141284a3e48bbf7f0431e628d96457098fb /ospfd/ospf_errors.c | |
| parent | 542a208f3afa6926029958a4f750caf776e566cd (diff) | |
ospfd: Convert ospf_ext.c to use new error-code subsystem
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'ospfd/ospf_errors.c')
| -rw-r--r-- | ospfd/ospf_errors.c | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/ospfd/ospf_errors.c b/ospfd/ospf_errors.c index a597b075dd..25c211cf60 100644 --- a/ospfd/ospf_errors.c +++ b/ospfd/ospf_errors.c @@ -80,6 +80,18 @@ static struct log_ref ferr_ospf_warn[] = { .suggestion = "Gather log data from this machine and open an Issue", }, { + .code = OSPF_WARN_LSA_NULL, + .title = "OSPF has received a NULL lsa pointer", + .description = "When processing a LSA update we have found and noticed an internal error where we are passing around a NULL pointer", + .suggestion = "Gather data from this machine and it's peer and open an Issue", + }, + { + .code = OSPF_WARN_EXT_LSA_UNEXPECTED, + .title = "OSPF has received EXT information that leaves it in an unexpected state", + .description = "While processing EXT LSA information, OSPF has noticed that the internal state of OSPF has gotten inconsistent", + .suggestion = "Gather data from this machine and it's peer and open an Issue", + }, + { .code = END_FERR, } }; @@ -128,7 +140,7 @@ static struct log_ref ferr_ospf_err[] = { .suggestion = "Restart OSPF instance, If the problem persists, report the problem for troubleshooting" }, { - .code = OSPF_ERR_SR_INVALID_ALGORITHM, + .code = OSPF_ERR_INVALID_ALGORITHM, .title = "OSPF SR Invalid Algorithm", .description = "OSPF Segment Routing invalid Algorithm", .suggestion = "Most likely a bug. If the problem persists, report the problem for troubleshooting" |
