summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpaul <paul>2003-05-24 15:31:45 +0000
committerpaul <paul>2003-05-24 15:31:45 +0000
commitaf8d0336a3cd98ef2fe163a6303a077735de4fb2 (patch)
tree7d68d4258ccbda69ec2b24107c05187637de08c7
parent0a825c79339870bd9d815172a29ae9567b61c4e6 (diff)
Fix missing bracket from previous commit.
-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;
}
}