diff options
author | Igor Ryzhov <idryzhov@gmail.com> | 2021-11-29 00:11:29 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-29 00:11:29 +0100 |
commit | cb3fa0a61242e542734362918e6afa974c00ce06 (patch) | |
tree | b3e8d090202e56829af3248acfa35878bba74be0 /pimd/pim_rp.c | |
parent | Merge pull request #10134 from donaldsharp/isis_topo1_vrf_fix (diff) | |
parent | *: Remove redundand braces for single statement blocks (diff) | |
download | frr-cb3fa0a61242e542734362918e6afa974c00ce06.tar.xz frr-cb3fa0a61242e542734362918e6afa974c00ce06.zip |
Merge pull request #10124 from ton31337/feature/vty_json
Diffstat (limited to 'pimd/pim_rp.c')
-rw-r--r-- | pimd/pim_rp.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/pimd/pim_rp.c b/pimd/pim_rp.c index 702e4d1d7..516ec2b2e 100644 --- a/pimd/pim_rp.c +++ b/pimd/pim_rp.c @@ -1320,9 +1320,7 @@ void pim_rp_show_information(struct pim_instance *pim, struct vty *vty, bool uj) buf, sizeof(buf)), json_rp_rows); - vty_out(vty, "%s\n", json_object_to_json_string_ext( - json, JSON_C_TO_STRING_PRETTY)); - json_object_free(json); + vty_json(vty, json); } } |