diff --git a/bgpd/bgp_route.c b/bgpd/bgp_route.c index 09759628cb..88d2044f45 100644 --- a/bgpd/bgp_route.c +++ b/bgpd/bgp_route.c @@ -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;