]> git.puffer.fish Git - mirror/frr.git/commit
bgpd: Fix output of interface based 'show bgp ..' commands
authorDonald Sharp <sharpd@cumulusnetworks.com>
Fri, 7 Jul 2017 13:08:25 +0000 (09:08 -0400)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Tue, 8 Aug 2017 14:28:54 +0000 (10:28 -0400)
commit4192df64c9185b48d60deefac81927a25fb688a9
treeb173d9a7fb59503d0a67e058b4164a20e359fb1f
parent8a893163781c618620c25372638d7c80eb80595b
bgpd: Fix output of interface based 'show bgp ..' commands

When issuing a 'show ip bgp' command and the nexthop is
a interface, if the interface name was greater than 7 characters
we would arbitrarily start a new-line and setup the next
line to start at the wrong spot.

Modify the interface field to allow 16 characters than 7( to
match v6 display ), and if the interface name is greater than
16 characters properly setup the next line for display

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
bgpd/bgp_route.c