From c2058bb0a0a657d61bb16917ee9b8f90d0dda503 Mon Sep 17 00:00:00 2001 From: Louis Scalbert Date: Wed, 22 May 2024 13:30:05 +0200 Subject: [PATCH] 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 --- isisd/isis_spf.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/isisd/isis_spf.c b/isisd/isis_spf.c index d63235ce61..c19fb3244e 100644 --- a/isisd/isis_spf.c +++ b/isisd/isis_spf.c @@ -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