Revert "bgpd: do not display vty output headers for link-state prefixes"

This reverts commit 3098772467.

(cherry picked from commit 85a63731dc)
This commit is contained in:
Donald Sharp 2023-10-10 16:44:26 -04:00 committed by Mergify
parent 35b55e6fc2
commit 5bb55d29f5

View File

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