summaryrefslogtreecommitdiff
path: root/ospfd
diff options
context:
space:
mode:
Diffstat (limited to 'ospfd')
-rw-r--r--ospfd/ospf_interface.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/ospfd/ospf_interface.c b/ospfd/ospf_interface.c
index 569e4781..a1b10c74 100644
--- a/ospfd/ospf_interface.c
+++ b/ospfd/ospf_interface.c
@@ -426,8 +426,9 @@ ospf_if_lookup_recv_if (struct ospf *ospf, struct in_addr src)
{
if (prefix_match (oi->address, (struct prefix *) &addr))
{
- if (match == NULL ||
- (match->address->prefixlen < oi->address->prefixlen)
+ if ( (match == NULL) ||
+ (match->address->prefixlen < oi->address->prefixlen)
+ )
match = oi;
}
}