summaryrefslogtreecommitdiff
path: root/isisd/isisd.c
diff options
context:
space:
mode:
Diffstat (limited to 'isisd/isisd.c')
-rw-r--r--isisd/isisd.c2
1 files changed, 1 insertions, 1 deletions
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);