summaryrefslogtreecommitdiffstats
path: root/ospfd/ospf_abr.c
diff options
context:
space:
mode:
authorpaul <paul>2003-08-10 02:51:22 +0000
committerpaul <paul>2003-08-10 02:51:22 +0000
commitad63404c8c9231a75759a0e5c981f9027762befe (patch)
tree2ebdc876629ccb97e49341a26737703bdc56013e /ospfd/ospf_abr.c
parent62b118c137914660e08d5203b5bba7c8814b6e6d (diff)
downloadquagga-ad63404c8c9231a75759a0e5c981f9027762befe.tar.bz2
quagga-ad63404c8c9231a75759a0e5c981f9027762befe.tar.xz
2003-08-10 amir <amir@datacore.ch>
* Add missing 'i' to getopts, short form of --pid_file. see http://bugzilla.quagga.net/show_bug.cgi?id=25
Diffstat (limited to 'ospfd/ospf_abr.c')
-rw-r--r--ospfd/ospf_abr.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/ospfd/ospf_abr.c b/ospfd/ospf_abr.c
index 92282514..46fb7aaf 100644
--- a/ospfd/ospf_abr.c
+++ b/ospfd/ospf_abr.c
@@ -779,15 +779,15 @@ ospf_abr_nexthops_belong_to_area (struct ospf_route *or,
struct ospf_area *area)
{
listnode node;
+ struct ospf_path *path;
- for (node = listhead (or->path); node; nextnode (node))
+ LIST_LOOP (or->paths, path, node)
{
- struct ospf_path *path = node->data;
struct ospf_interface *oi = path->oi;
if (oi != NULL)
- if (oi->area == area)
- return 1;
+ if (oi->area == area)
+ return 1;
}
return 0;