summaryrefslogtreecommitdiffstats
path: root/ospfd/ospf_errors.h
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2018-08-21 03:52:55 +0200
committerQuentin Young <qlyoung@cumulusnetworks.com>2018-09-06 22:50:58 +0200
commit89f60109a7fc7f8d5a1280379915cdd174af84c9 (patch)
tree1157c141284a3e48bbf7f0431e628d96457098fb /ospfd/ospf_errors.h
parentospfd: Add OSPF_WARN_LSA_INSTALL_FAILURE error code (diff)
downloadfrr-89f60109a7fc7f8d5a1280379915cdd174af84c9.tar.xz
frr-89f60109a7fc7f8d5a1280379915cdd174af84c9.zip
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.h')
-rw-r--r--ospfd/ospf_errors.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/ospfd/ospf_errors.h b/ospfd/ospf_errors.h
index 721d8e08d..d6f2eb753 100644
--- a/ospfd/ospf_errors.h
+++ b/ospfd/ospf_errors.h
@@ -31,7 +31,7 @@ enum ospf_log_refs {
OSPF_ERR_SR_INVALID_DB,
OSPF_ERR_SR_NODE_CREATE,
OSPF_ERR_SR_INVALID_LSA_ID,
- OSPF_ERR_SR_INVALID_ALGORITHM,
+ OSPF_ERR_INVALID_ALGORITHM,
OSPF_WARN_SET_METRIC_PLUS,
OSPF_WARN_MD5,
OSPF_WARN_PACKET,
@@ -41,6 +41,8 @@ enum ospf_log_refs {
OSPF_WARN_OPAQUE_REGISTRATION,
OSPF_WARN_TE_UNEXPECTED,
OSPF_WARN_LSA_INSTALL_FAILURE,
+ OSPF_WARN_LSA_NULL,
+ OSPF_WARN_EXT_LSA_UNEXPECTED,
};
extern void ospf_error_init(void);