From a8f03df06c2740a730e80218c13c6a1afd050c4e Mon Sep 17 00:00:00 2001 From: paul Date: Sun, 10 Apr 2005 15:58:10 +0000 Subject: 2005-04-10 Paul Jakma * 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 --- isisd/isisd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'isisd/isisd.c') diff --git a/isisd/isisd.c b/isisd/isisd.c index c2bb9064..aeebee68 100644 --- a/isisd/isisd.c +++ b/isisd/isisd.c @@ -1602,7 +1602,7 @@ DEFUN (show_isis_generated_topology, { 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); -- cgit v1.2.1