mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-07 20:19:53 +00:00
Merge pull request #1553 from donaldsharp/bgp_json_routes
bgpd: Speedup vtysh handling of 'show bgp afi safi json' display
This commit is contained in:
commit
e492e668b6
@ -8394,7 +8394,7 @@ static int bgp_show_table(struct vty *vty, struct bgp *bgp, safi_t safi,
|
|||||||
vty_out(vty, ",\"%s\": ", buf2);
|
vty_out(vty, ",\"%s\": ", buf2);
|
||||||
|
|
||||||
vty_out(vty, "%s",
|
vty_out(vty, "%s",
|
||||||
json_object_to_json_string_ext(json_paths, JSON_C_TO_STRING_PRETTY));
|
json_object_to_json_string(json_paths));
|
||||||
json_object_free(json_paths);
|
json_object_free(json_paths);
|
||||||
json_paths = NULL;
|
json_paths = NULL;
|
||||||
first = 0;
|
first = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user