From 85c9b439498077e97f0b0e060e3082a08e21d51e Mon Sep 17 00:00:00 2001 From: Donald Sharp Date: Mon, 20 Aug 2018 19:47:59 -0400 Subject: ospfd: Add OSPF_WARN_OPAQUE_REGISTRATION Signed-off-by: Donald Sharp --- ospfd/ospf_ri.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'ospfd/ospf_ri.c') diff --git a/ospfd/ospf_ri.c b/ospfd/ospf_ri.c index 4f6e1be0f4..c5e0cd3873 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; } -- cgit v1.2.3