]> git.proxmox.com Git - mirror_frr.git/commit
bgpd: fix "show ip bgp" column alignment
authorDaniel Walton <dwalton@cumulusnetworks.com>
Tue, 29 Nov 2016 17:47:12 +0000 (12:47 -0500)
committerDavid Lamparter <equinox@opensourcerouting.org>
Tue, 29 Nov 2016 18:06:05 +0000 (19:06 +0100)
commitfa86975d474cc246c5236077bef366f5f0f0644d
tree55be1f7556240f3a5dc81bf8deb33dfa9daeda32
parent487f230202efbf74572cf2d16045de90ab28c780
bgpd: fix "show ip bgp" column alignment

The "Weight" column is off:

BGP table version is 0, local router ID is 10.1.1.1
Status codes: s suppressed, d damped, h history, * valid, > best, =
multipath,
              i internal, r RIB-failure, S Stale, R Removed
Origin codes: i - IGP, e - EGP, ? - incomplete
   Network          Next Hop            Metric LocPrf Weight Path
*> 4.1.1.2/32       9.9.9.2                  0          32768 ?
*> 4.1.1.4/32       9.9.9.2                  0          32768 ?
Displayed  2 out of 2 total prefixes

Signed-off-by: Daniel Walton <dwalton@cumulusnetworks.com>
Reviewed-by: Donald Sharp <sharpd@cumulusnetworks.com>
(cherry picked from commit 65c7395b07e8c592c847d4a1e22fc89ddf448341)
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
bgpd/bgp_route.c