summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpaul <paul>2003-05-24 15:31:45 +0000
committerpaul <paul>2003-05-24 15:31:45 +0000
commit749b4c71b38ddb1e4e3b9c289292d373ec4e1c66 (patch)
treea7a63bb94dc7b71a7bf0387b373f8653fa915e0c
parentb0795bbf490bbac91b3079cac1e6f96bfb48d82b (diff)
downloadquagga-749b4c71b38ddb1e4e3b9c289292d373ec4e1c66.tar.bz2
quagga-749b4c71b38ddb1e4e3b9c289292d373ec4e1c66.tar.xz
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;
}
}