diff options
author | paul <paul> | 2003-05-24 15:31:45 +0000 |
---|---|---|
committer | paul <paul> | 2003-05-24 15:31:45 +0000 |
commit | af8d0336a3cd98ef2fe163a6303a077735de4fb2 (patch) | |
tree | 7d68d4258ccbda69ec2b24107c05187637de08c7 /ospfd/ospf_interface.c | |
parent | 0a825c79339870bd9d815172a29ae9567b61c4e6 (diff) |
Fix missing bracket from previous commit.
Diffstat (limited to 'ospfd/ospf_interface.c')
-rw-r--r-- | ospfd/ospf_interface.c | 5 |
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; } } |