isisd: fix show isis topology display

Fix "Area X:" display for fabricd

Fixes: f185005b2f ("isisd: fix the display topology command")
Signed-off-by: Louis Scalbert <louis.scalbert@6wind.com>
This commit is contained in:
Louis Scalbert 2024-05-22 13:30:05 +02:00
parent 4d0e9e2a9f
commit c2058bb0a0

View file

@ -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