summaryrefslogtreecommitdiff
path: root/lib/plist.c
diff options
context:
space:
mode:
authorDaniel Walton <dwalton@cumulusnetworks.com>2016-09-28 04:52:36 +0000
committerDaniel Walton <dwalton@cumulusnetworks.com>2016-09-28 04:52:36 +0000
commit2aac57679569485060a36bdee1dcf309198f07fd (patch)
treef09519edd7cd327296c6ebd05da761fb6a99e552 /lib/plist.c
parent032bfaaf28f919b029835cd600ad12000ad77498 (diff)
use JSON_C_TO_STRING_PRETTY for json_object_to_json_string
Signed-off-by: Daniel Walton <dwalton@cumulusnetworks.com>
Diffstat (limited to 'lib/plist.c')
-rw-r--r--lib/plist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/plist.c b/lib/plist.c
index eedb830c1a..336c55a084 100644
--- a/lib/plist.c
+++ b/lib/plist.c
@@ -2839,7 +2839,7 @@ prefix_bgp_show_prefix_list (struct vty *vty, afi_t afi, char *name, u_char use_
else
json_object_object_add(json, "ipv6PrefixList", json_prefix);
- vty_out (vty, "%s%s", json_object_to_json_string(json), VTY_NEWLINE);
+ vty_out (vty, "%s%s", json_object_to_json_string_ext(json, JSON_C_TO_STRING_PRETTY), VTY_NEWLINE);
json_object_free(json);
}
else