]> git.puffer.fish Git - mirror/frr.git/commit
bgpd: fix add prefix sent in 'show bgp neighbor' 18376/head
authorPhilippe Guibert <philippe.guibert@6wind.com>
Thu, 13 Mar 2025 10:29:39 +0000 (11:29 +0100)
committerPhilippe Guibert <philippe.guibert@6wind.com>
Thu, 10 Apr 2025 08:12:36 +0000 (10:12 +0200)
commita47a53b003e7a467d2c3c7659a6e5a496b0ad7cb
tree03b139697e0c6189472fb934a2553bc9b71d3aa0
parentf28394313fc243bc7ef43672cabda4112d861cb4
bgpd: fix add prefix sent in 'show bgp neighbor'

The 'acceptedPrefixCounter' is available in 'show bgp neighbor json', but
there is no equivalent when using the non json output. Add it.

> # show bgp neighbor
> [..]
>  Community attribute sent to this neighbor(all)
>  0 accepted prefixes, 1 sent prefixes

Fixes: 856ca177c4bb ("Added json formating support to show-...-neighbors-... bgp commands.")
Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
bgpd/bgp_vty.c