diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2018-08-20 19:47:59 -0400 |
|---|---|---|
| committer | Quentin Young <qlyoung@cumulusnetworks.com> | 2018-09-06 20:50:58 +0000 |
| commit | 85c9b439498077e97f0b0e060e3082a08e21d51e (patch) | |
| tree | a62518def647697886764a65c9e0c6d8fe009332 /ospfd/ospf_ri.c | |
| parent | 34f74c7a37fbae349a4a2721443417cb3bc89f05 (diff) | |
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.c | 5 |
1 files changed, 3 insertions, 2 deletions
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; } |
