diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2018-08-21 09:22:33 -0400 |
|---|---|---|
| committer | Quentin Young <qlyoung@cumulusnetworks.com> | 2018-09-06 20:50:58 +0000 |
| commit | 13ab4921b1584c2ccc034a001d239873c7645d01 (patch) | |
| tree | 259eec2cff21882083b05aa47535029c3e6cbab6 /ospfd/ospf_errors.c | |
| parent | 78912b1f80bbf49638858605308ea4a148873860 (diff) | |
ospfd: Convert ospf_lsa.c to use new error-card Syntax
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'ospfd/ospf_errors.c')
| -rw-r--r-- | ospfd/ospf_errors.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/ospfd/ospf_errors.c b/ospfd/ospf_errors.c index 0eb68755c2..b3673a7f76 100644 --- a/ospfd/ospf_errors.c +++ b/ospfd/ospf_errors.c @@ -98,6 +98,18 @@ static struct log_ref ferr_ospf_warn[] = { .suggestion = "Gather data from this machine and open an Issue", }, { + .code = OSPF_WARN_PTP_NEIGHBOR, + .title = "OSPF has detected more than 1 neighbor on a P2P interface", + .description = "If you configure a ospf interface as P2P we should not detect more than one neighbor on the interface", + .suggestion = "Fix your config", + }, + { + .code = OSPF_WARN_LSA_SIZE, + .title = "OSPF has detected an invalid LSA size", + .description = "OSPF has detected a state where we are attempting to grow a LSA but the LSA has reached it's maximum size", + .suggestion = "Gather data and open an Issue", + }, + { .code = END_FERR, } }; |
