summaryrefslogtreecommitdiff
path: root/ospfd/ospf_errors.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2018-08-21 09:29:30 -0400
committerQuentin Young <qlyoung@cumulusnetworks.com>2018-09-06 20:50:58 +0000
commit14c5ef90b7489eba0b490f923ed9e06630f843c5 (patch)
tree232502c862cac2290e57604a8fc4d6ff0e69fca3 /ospfd/ospf_errors.c
parented59abd5c77cf8f32898f97bbdea3c95aadaea11 (diff)
ospf_nsm.c: Convert warn->err and use error-code
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'ospfd/ospf_errors.c')
-rw-r--r--ospfd/ospf_errors.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/ospfd/ospf_errors.c b/ospfd/ospf_errors.c
index b3673a7f76..4646ed33b9 100644
--- a/ospfd/ospf_errors.c
+++ b/ospfd/ospf_errors.c
@@ -164,6 +164,12 @@ static struct log_ref ferr_ospf_err[] = {
.suggestion = "Most likely a bug. If the problem persists, report the problem for troubleshooting"
},
{
+ .code = OSPF_ERR_FSM_INVALID_STATE,
+ .title = "OSPF FSM invalid state detected",
+ .description = "OSPF has attempted to change states when it should not be able to",
+ .suggestion = "Gather log files and open an issue",
+ },
+ {
.code = END_FERR,
}
};