diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2018-08-20 19:26:59 -0400 |
|---|---|---|
| committer | Quentin Young <qlyoung@cumulusnetworks.com> | 2018-09-06 20:50:58 +0000 |
| commit | 34f74c7a37fbae349a4a2721443417cb3bc89f05 (patch) | |
| tree | 38da8923395a52497ec033611ec32a1b8fffce4f /ospfd/ospf_errors.c | |
| parent | c9cc11f669a89193f0a1dfd2638faa852faf091e (diff) | |
lib: Convert ospf_opaque.c to use the err-card system
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'ospfd/ospf_errors.c')
| -rw-r--r-- | ospfd/ospf_errors.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/ospfd/ospf_errors.c b/ospfd/ospf_errors.c index ea6199bb44..7c885a8cd0 100644 --- a/ospfd/ospf_errors.c +++ b/ospfd/ospf_errors.c @@ -50,6 +50,18 @@ static struct log_ref ferr_ospf_warn[] = { .suggestion = "Further divide up your network with areas", }, { + .code = OSPF_WARN_LSA_UNEXPECTED, + .title = "OSPF has received a LSA-type that it was not expecting", + .description = "OSPF has received a LSA-type that it was not expecting during processing", + .suggestion = "Gather log data from this machine and it's peer and open an Issue", + }, + { + .code = OSPF_WARN_LSA, + .title = "OSPF has discovered inconsistent internal state for a LSA", + .description = "During handling of a LSA, OSPF has discovered that the LSA's internal state is inconsistent", + .suggestion = "Gather log data and open an Issue", + }, + { .code = END_FERR, } }; @@ -107,6 +119,7 @@ static struct log_ref ferr_ospf_err[] = { .code = END_FERR, } }; +/* clang-format on */ void ospf_error_init(void) { |
