]> git.proxmox.com Git - mirror_frr.git/commit - bgpd/bgp_vty.c
bgpd: Trim long neighbor description with no whitespace
authorrbarroetavena <rbarroetavena@gmail.com>
Thu, 23 Mar 2023 19:19:48 +0000 (16:19 -0300)
committerrbarroetavena <rbarroetavena@gmail.com>
Thu, 30 Mar 2023 16:15:58 +0000 (13:15 -0300)
commit420ac3d24cd4f78f05826f7d58a794e0ffc5543f
tree9ac6bd45f216838cfd8fdef1c07790baed5fa622
parentc99978f7b565ea1994ef0a0d3ea299f48314fcee
bgpd: Trim long neighbor description with no whitespace

Fix for missing neighbor description in "show bgp summary [wide]"
when its length exceeds 20[64] chars and it doesn't contain
withespaces.
Existing behavior remains if description contains whitespaces
before size limit.

Signed-off-by: rbarroetavena <rbarroetavena@gmail.com>
bgpd/bgp_vty.c