summaryrefslogtreecommitdiff
path: root/proto/ospf/topology.c
diff options
context:
space:
mode:
Diffstat (limited to 'proto/ospf/topology.c')
-rw-r--r--proto/ospf/topology.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/proto/ospf/topology.c b/proto/ospf/topology.c
index 5d437d95..5b6d631a 100644
--- a/proto/ospf/topology.c
+++ b/proto/ospf/topology.c
@@ -635,14 +635,14 @@ static inline int
check_sum_net_lsaid_collision(struct fib_node *fn, struct top_hash_entry *en)
{
struct ospf_lsa_sum *sum = en->lsa_body;
- return (fn->pxlen != ipa_mklen(sum->netmask))
+ return fn->pxlen != ipa_mklen(sum->netmask);
}
static inline int
check_ext_lsaid_collision(struct fib_node *fn, struct top_hash_entry *en)
{
struct ospf_lsa_ext *ext = en->lsa_body;
- return (fn->pxlen != ipa_mklen(ext->netmask))
+ return fn->pxlen != ipa_mklen(ext->netmask);
}
#else /* OSPFv3 */