mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-14 18:27:21 +00:00
2005-05-25 Paul Jakma <paul@dishone.st>
* isisd.c: (show_isis_generated_topology) change to _RO version of list macro. remove the extra listnode variable. one of the macros had had incorrect number of arguments.
This commit is contained in:
parent
8176c19f61
commit
92c9f2229f
@ -1,3 +1,9 @@
|
|||||||
|
2005-05-25 Paul Jakma <paul@dishone.st>
|
||||||
|
|
||||||
|
* isisd.c: (show_isis_generated_topology) change to _RO version
|
||||||
|
of list macro. remove the extra listnode variable. one of the
|
||||||
|
macros had had incorrect number of arguments.
|
||||||
|
|
||||||
2005-05-03 Paul Jakma <paul@dishone.st>
|
2005-05-03 Paul Jakma <paul@dishone.st>
|
||||||
|
|
||||||
* (general) More cleaning up of stream abuse, isisd should be
|
* (general) More cleaning up of stream abuse, isisd should be
|
||||||
|
@ -1593,16 +1593,16 @@ DEFUN (show_isis_generated_topology,
|
|||||||
"CLNS neighbor adjacencies\n")
|
"CLNS neighbor adjacencies\n")
|
||||||
{
|
{
|
||||||
struct isis_area *area;
|
struct isis_area *area;
|
||||||
struct listnode *node, *nnode;
|
struct listnode *node;
|
||||||
struct listnode *node2;
|
struct listnode *node2;
|
||||||
struct arc *arc;
|
struct arc *arc;
|
||||||
for (ALL_LIST_ELEMENTS (isis->area_list, node, nnode, area))
|
for (ALL_LIST_ELEMENTS_RO (isis->area_list, node, area))
|
||||||
{
|
{
|
||||||
if (area->topology)
|
if (area->topology)
|
||||||
{
|
{
|
||||||
vty_out (vty, "Topology for isis area:%s%s", area->area_tag,
|
vty_out (vty, "Topology for isis area:%s%s", area->area_tag,
|
||||||
VTY_NEWLINE);
|
VTY_NEWLINE);
|
||||||
for (ALL_LIST_ELEMENTS (area->topology, node2, arc))
|
for (ALL_LIST_ELEMENTS_RO (area->topology, node2, arc))
|
||||||
{
|
{
|
||||||
vty_out (vty, "a %ld %ld %ld%s", arc->from_node, arc->to_node,
|
vty_out (vty, "a %ld %ld %ld%s", arc->from_node, arc->to_node,
|
||||||
arc->distance, VTY_NEWLINE);
|
arc->distance, VTY_NEWLINE);
|
||||||
|
Loading…
Reference in New Issue
Block a user