summaryrefslogtreecommitdiffstats
path: root/ospfd/ospf_ri.c
diff options
context:
space:
mode:
authorQuentin Young <qlyoung@cumulusnetworks.com>2018-08-24 18:26:43 +0200
committerQuentin Young <qlyoung@cumulusnetworks.com>2018-09-06 22:56:41 +0200
commitade6974defaa83456b36804a9132d5cad65dc27a (patch)
tree888d34549383e8f8262081798dcad4f1892eb6d1 /ospfd/ospf_ri.c
parentzebra: flog_warn conversion (diff)
downloadfrr-ade6974defaa83456b36804a9132d5cad65dc27a.tar.xz
frr-ade6974defaa83456b36804a9132d5cad65dc27a.zip
*: style for flog_warn conversions
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Diffstat (limited to 'ospfd/ospf_ri.c')
-rw-r--r--ospfd/ospf_ri.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/ospfd/ospf_ri.c b/ospfd/ospf_ri.c
index 37d18767e..974822ba8 100644
--- a/ospfd/ospf_ri.c
+++ b/ospfd/ospf_ri.c
@@ -186,8 +186,9 @@ static int ospf_router_info_register(uint8_t scope)
NULL); /* del_lsa_hook */
if (rc != 0) {
- flog_warn(OSPF_WARN_OPAQUE_REGISTRATION,
- "ospf_router_info_init: Failed to register functions");
+ flog_warn(
+ OSPF_WARN_OPAQUE_REGISTRATION,
+ "ospf_router_info_init: Failed to register functions");
return rc;
}
@@ -201,7 +202,8 @@ static int ospf_router_info_unregister()
if ((OspfRI.scope != OSPF_OPAQUE_AS_LSA)
&& (OspfRI.scope != OSPF_OPAQUE_AREA_LSA)) {
- assert("Unable to unregister Router Info functions: Wrong scope!" == NULL);
+ assert("Unable to unregister Router Info functions: Wrong scope!"
+ == NULL);
return -1;
}