diff options
| author | Krishnasamy R <krishnasamyr@nvidia.com> | 2024-11-11 01:59:31 -0800 |
|---|---|---|
| committer | Mergify <37929162+mergify[bot]@users.noreply.github.com> | 2024-11-11 15:11:12 +0000 |
| commit | ffc5f32789adb3a7d710bd452d641070fb710f3d (patch) | |
| tree | 0530df356a958fa6876c34387817e7643b4f11b1 /lib/elf_py.c | |
| parent | 026f0ddb69ecc1a617fec876c7fd6045f091fe8c (diff) | |
bgpd: fix resolvedPrefix in show nexthop json output
While populating the nexthop info for "show bgp nexthop json", resolvedPrefix
is added in parent json object instead of json_nexthop object.
This results in displaying wrong resolvedPrefix for nexthops.
Fixing the same by adding resolvedPrefix to json_nexthop object, so that
the proper resolvedPrefix would be displayed for the respective nexthop
Signed-off-by: Krishnasamy R <krishnasamyr@nvidia.com>
(cherry picked from commit 95c08e082c063374cbc62dea6529c8f54b0722df)
Diffstat (limited to 'lib/elf_py.c')
0 files changed, 0 insertions, 0 deletions
