diff options
| author | Trey Aspelund <taspelund@nvidia.com> | 2022-01-14 21:57:32 +0000 |
|---|---|---|
| committer | Trey Aspelund <taspelund@nvidia.com> | 2022-01-14 22:03:11 +0000 |
| commit | c1984955b7bda1c0d40786bc97a6c787bfa99f11 (patch) | |
| tree | f46fd5d04359800572656d74dcc48256e755ccb1 /lib/libfrr.c | |
| parent | 25c44cf5de2a71c771996e7703819decf4299b18 (diff) | |
bgpd: fix advertisedRoutes json key
'show bgp ... neighbor [routes|received-routes]' both incorrectly
used a json key of 'advertisedRoutes'.
This corrects the key to be 'receivedRoutes' for commands where
the displayed routes were received, not advertised.
before:
unet> r3 show ip bgp neigh 10.2.30.2 received-routes json | include Routes
"advertisedRoutes":{
after:
ub18# show ip bgp neighbors enp1s0 received-routes json | include Routes
"receivedRoutes":{
ub18# show ip bgp neighbors enp1s0 advertised-routes json | include Routes
"advertisedRoutes":{
Signed-off-by: Trey Aspelund <taspelund@nvidia.com>
Diffstat (limited to 'lib/libfrr.c')
0 files changed, 0 insertions, 0 deletions
