]> git.proxmox.com Git - mirror_frr.git/commit - bgpd/bgp_route.c
bgpd: fixed misaligned columns in BGP routes table
authorWayne Morrison <wmorrison@netgate.com>
Tue, 25 Oct 2022 14:45:35 +0000 (10:45 -0400)
committerWayne Morrison <wmorrison@netgate.com>
Tue, 25 Oct 2022 14:45:35 +0000 (10:45 -0400)
commiteaeba5e868fccba4b48145bc953774faf01a121a
tree295b63a5c8607a3362a53be80e1fe971f444d635
parent695f387ed872c1bc55ad4149ede95465b48697b9
bgpd: fixed misaligned columns in BGP routes table

Column headers in BGP routes table are not aligned with data when
RPKI status is available.  This was fixed to insert a space at the
beginning of the header and at the beginning of lines that do not
have RPKI status.

This fix requires that several testing templates be adjusted to
match the new output.

Signed-off-by: Wayne Morrison <wmorrison@netgate.com>
bgpd/bgp_route.c
bgpd/bgp_route.h
tests/topotests/all_protocol_startup/r1/show_bgp_ipv4-post4.1.ref
tests/topotests/all_protocol_startup/r1/show_bgp_ipv4-post5.0.ref
tests/topotests/all_protocol_startup/r1/show_bgp_ipv4-post6.1.ref
tests/topotests/all_protocol_startup/r1/show_bgp_ipv4.ref
tests/topotests/all_protocol_startup/r1/show_bgp_ipv6-post4.1.ref
tests/topotests/all_protocol_startup/r1/show_bgp_ipv6.ref
tests/topotests/all_protocol_startup/r1/show_bgp_ipv6_post6.1.ref