Skip to content

Commit

Permalink
isisd: fix show isis topology display
Browse files Browse the repository at this point in the history
Fix "Area X:" display for fabricd

Fixes: f185005 ("isisd: fix the display topology command")
Signed-off-by: Louis Scalbert <[email protected]>
  • Loading branch information
louis-6wind committed May 22, 2024
1 parent 4d0e9e2 commit c2058bb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions isisd/isis_spf.c
Original file line number Diff line number Diff line change
Expand Up @@ -2357,10 +2357,12 @@ static void show_isis_topology_common(struct vty *vty, int levels,
fa_data = (struct isis_flex_algo_data *)fa->data;
} else
fa_data = NULL;
#endif /* ifndef FABRICD */

vty_out(vty,
"Area %s:", area->area_tag ? area->area_tag : "null");

#ifndef FABRICD
if (algo != SR_ALGORITHM_SPF)
vty_out(vty, " Algorithm %hhu\n", algo);
else
Expand Down

0 comments on commit c2058bb

Please sign in to comment.