summaryrefslogtreecommitdiff
path: root/ospfd/ospf_ri.c
diff options
context:
space:
mode:
authorQuentin Young <qlyoung@cumulusnetworks.com>2018-08-24 16:26:43 +0000
committerQuentin Young <qlyoung@cumulusnetworks.com>2018-09-06 20:56:41 +0000
commitade6974defaa83456b36804a9132d5cad65dc27a (patch)
tree888d34549383e8f8262081798dcad4f1892eb6d1 /ospfd/ospf_ri.c
parent9df414feebc0748bbff2ea9071c76be59618e8e6 (diff)
*: 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 37d18767ed..974822ba82 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;
}