Skip to content

Commit

Permalink
Merge pull request #1553 from donaldsharp/bgp_json_routes
Browse files Browse the repository at this point in the history
bgpd: Speedup vtysh handling of 'show bgp afi safi json' display
  • Loading branch information
rzalamena authored Dec 19, 2017
2 parents 1de0576 + 23b2a7e commit e492e66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bgpd/bgp_route.c
Original file line number Diff line number Diff line change
Expand Up @@ -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",
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_paths = NULL;
first = 0;
Expand Down

0 comments on commit e492e66

Please sign in to comment.