]> git.puffer.fish Git - mirror/frr.git/commitdiff
isisd: fix show isis topology display
authorLouis Scalbert <louis.scalbert@6wind.com>
Wed, 22 May 2024 11:30:05 +0000 (13:30 +0200)
committerLouis Scalbert <louis.scalbert@6wind.com>
Wed, 22 May 2024 11:41:08 +0000 (13:41 +0200)
Fix "Area X:" display for fabricd

Fixes: f185005b2f ("isisd: fix the display topology command")
Signed-off-by: Louis Scalbert <louis.scalbert@6wind.com>
isisd/isis_spf.c

index d63235ce61ae3012e7a73872d69ba154d1052d40..c19fb3244efa274131e5dc3dcd18ff549f62e6ea 100644 (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