2005-04-10 Paul Jakma <paul@dishone.st>
* Makefile.am: topology should not be a conditional SUBDIR,
otherwise make dist breaks.
* topology/Makefile.am: remove EXTRA_DIST of files which dont
exist in that directory, broke make dist.
* isisd.c: (show_isis_generated_topology_cmd) convert LIST_LOOP
* isis_lsp.c: (generate_topology_lsps) ditto
(build_topology_lsp_data) ditto
diff --git a/isisd/isisd.c b/isisd/isisd.c
index c2bb906..aeebee6 100644
--- a/isisd/isisd.c
+++ b/isisd/isisd.c
@@ -1602,7 +1602,7 @@
{
vty_out (vty, "Topology for isis area:%s%s", area->area_tag,
VTY_NEWLINE);
- LIST_LOOP (area->topology, arc, node2)
+ for (ALL_LIST_ELEMENTS (area->topology, node2, arc))
{
vty_out (vty, "a %ld %ld %ld%s", arc->from_node, arc->to_node,
arc->distance, VTY_NEWLINE);