From af8d0336a3cd98ef2fe163a6303a077735de4fb2 Mon Sep 17 00:00:00 2001 From: paul Date: Sat, 24 May 2003 15:31:45 +0000 Subject: Fix missing bracket from previous commit. --- ospfd/ospf_interface.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'ospfd') 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; } } -- cgit v1.2.1