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
diff --git a/ospfd/ospf_abr.c b/ospfd/ospf_abr.c
index 9228251..46fb7aa 100644
--- a/ospfd/ospf_abr.c
+++ b/ospfd/ospf_abr.c
@@ -779,15 +779,15 @@
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;