mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-07-25 07:28:41 +00:00
Merge pull request #18133 from FRRouting/mergify/bp/dev/10.3/pr-18120
bgpd: fix incorrect JSON in bgp_show_table_rd (backport #18120)
This commit is contained in:
commit
98b774ada1
@ -12403,10 +12403,9 @@ int bgp_show_table_rd(struct vty *vty, struct bgp *bgp, afi_t afi, safi_t safi,
|
||||
|
||||
memcpy(&prd, dest_p, sizeof(struct prefix_rd));
|
||||
prefix_rd2str(&prd, rd, sizeof(rd), bgp->asnotation);
|
||||
bgp_show_table(vty, bgp, afi, safi, itable, type, output_arg,
|
||||
rd, next == NULL, &output_cum,
|
||||
&total_cum, &json_header_depth,
|
||||
show_flags, RPKI_NOT_BEING_USED);
|
||||
bgp_show_table(vty, bgp, afi, safi, itable, type, output_arg, rd,
|
||||
!bgp_dest_get_bgp_table_info(next), &output_cum, &total_cum,
|
||||
&json_header_depth, show_flags, RPKI_NOT_BEING_USED);
|
||||
if (next == NULL)
|
||||
show_msg = false;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user