diff options
-rw-r--r-- | ospf6d/ospf6_zebra.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/ospf6d/ospf6_zebra.c b/ospf6d/ospf6_zebra.c index b81863351..82d280811 100644 --- a/ospf6d/ospf6_zebra.c +++ b/ospf6d/ospf6_zebra.c @@ -352,9 +352,7 @@ DEFUN(show_zebra, json_object_object_add(json_zebra, "redistribute", json_array); json_object_object_add(json, "zebraInformation", json_zebra); - vty_out(vty, "%s\n", - json_object_to_json_string_ext( - json, JSON_C_TO_STRING_PRETTY)); + vty_json(vty, json); } else { vty_out(vty, "Zebra Infomation\n"); vty_out(vty, " fail: %d\n", zclient->fail); |