From 85a63731dc8231923796345ba8bb1843ba48d59b Mon Sep 17 00:00:00 2001 From: Donald Sharp Date: Tue, 10 Oct 2023 16:44:26 -0400 Subject: [PATCH] Revert "bgpd: do not display vty output headers for link-state prefixes" This reverts commit 3098772467ad8a46a8f35cdd4e502806740b2064. --- bgpd/bgp_route.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bgpd/bgp_route.c b/bgpd/bgp_route.c index 965e39888f..7d85980d74 100644 --- a/bgpd/bgp_route.c +++ b/bgpd/bgp_route.c @@ -11419,7 +11419,7 @@ static int bgp_show_table(struct vty *vty, struct bgp *bgp, afi_t afi, safi_t sa vty_out(vty, ASN_FORMAT(bgp->asnotation), &bgp->as); vty_out(vty, "\n"); - if (!detail_routes && safi != SAFI_LINKSTATE) { + if (!detail_routes) { vty_out(vty, BGP_SHOW_SCODE_HEADER); vty_out(vty, BGP_SHOW_NCODE_HEADER); vty_out(vty, BGP_SHOW_OCODE_HEADER); -- 2.39.5