mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-14 02:53:55 +00:00
bgpd: add missing white-space between route short status and network columns
When running `show ip bgp` command, the 'route short status' and 'network' columns do not have white-space between them. Old show: Network Next Hop Metric LocPrf Weight Path *>i1.1.1.1/32 10.1.12.111 0 100 0 i New show: Network Next Hop Metric LocPrf Weight Path *>i 1.1.1.1/32 10.1.12.111 0 100 0 i Added white-space to enhance readability between them. Signed-off-by: Cassiano Campes <cassiano.campes@venkonetworks.com>
This commit is contained in:
parent
8341f6464c
commit
f3dd00510f
@ -9046,6 +9046,9 @@ static void route_vty_short_status_out(struct vty *vty,
|
||||
vty_out(vty, "i");
|
||||
else
|
||||
vty_out(vty, " ");
|
||||
|
||||
/* adding space between next column */
|
||||
vty_out(vty, " ");
|
||||
}
|
||||
|
||||
static char *bgp_nexthop_hostname(struct peer *peer,
|
||||
|
@ -66,8 +66,8 @@ enum bgp_show_adj_route_type {
|
||||
#define BGP_SHOW_NCODE_HEADER "Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self\n"
|
||||
#define BGP_SHOW_RPKI_HEADER \
|
||||
"RPKI validation codes: V valid, I invalid, N Not found\n\n"
|
||||
#define BGP_SHOW_HEADER " Network Next Hop Metric LocPrf Weight Path\n"
|
||||
#define BGP_SHOW_HEADER_WIDE " Network Next Hop Metric LocPrf Weight Path\n"
|
||||
#define BGP_SHOW_HEADER " Network Next Hop Metric LocPrf Weight Path\n"
|
||||
#define BGP_SHOW_HEADER_WIDE " Network Next Hop Metric LocPrf Weight Path\n"
|
||||
|
||||
/* Maximum number of labels we can process or send with a prefix. We
|
||||
* really do only 1 for MPLS (BGP-LU) but we can do 2 for EVPN-VxLAN.
|
||||
|
Loading…
Reference in New Issue
Block a user