summaryrefslogtreecommitdiffstats
path: root/ospfd/ospf_ri.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2018-08-21 01:47:59 +0200
committerQuentin Young <qlyoung@cumulusnetworks.com>2018-09-06 22:50:58 +0200
commit85c9b439498077e97f0b0e060e3082a08e21d51e (patch)
treea62518def647697886764a65c9e0c6d8fe009332 /ospfd/ospf_ri.c
parentlib: Convert ospf_opaque.c to use the err-card system (diff)
downloadfrr-85c9b439498077e97f0b0e060e3082a08e21d51e.tar.xz
frr-85c9b439498077e97f0b0e060e3082a08e21d51e.zip
ospfd: Add OSPF_WARN_OPAQUE_REGISTRATION
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'ospfd/ospf_ri.c')
-rw-r--r--ospfd/ospf_ri.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/ospfd/ospf_ri.c b/ospfd/ospf_ri.c
index 4f6e1be0f..c5e0cd387 100644
--- a/ospfd/ospf_ri.c
+++ b/ospfd/ospf_ri.c
@@ -57,6 +57,7 @@
#include "ospfd/ospf_zebra.h"
#include "ospfd/ospf_sr.h"
#include "ospfd/ospf_ri.h"
+#include "ospfd/ospf_errors.h"
/* Store Router Information PCE TLV and SubTLV in network byte order. */
struct ospf_pce_info {
@@ -185,8 +186,8 @@ static int ospf_router_info_register(uint8_t scope)
NULL); /* del_lsa_hook */
if (rc != 0) {
- zlog_warn(
- "ospf_router_info_init: Failed to register functions");
+ flog_warn(OSPF_WARN_OPAQUE_REGISTRATION,
+ "ospf_router_info_init: Failed to register functions");
return rc;
}