summaryrefslogtreecommitdiffstats
path: root/ospf6d/ospf6d.c
diff options
context:
space:
mode:
authorYash Ranjan <ranjany@vmware.com>2020-10-28 11:51:39 +0100
committerYash Ranjan <ranjany@vmware.com>2021-01-27 05:06:02 +0100
commiteacd0828d4a95684fbf691e28730b229c5a8b799 (patch)
treed432a4eae6ed9f5e79240c3700f394d23c4c0269 /ospf6d/ospf6d.c
parentMerge pull request #7935 from donaldsharp/ospf6_use_after_free (diff)
downloadfrr-eacd0828d4a95684fbf691e28730b229c5a8b799.tar.xz
frr-eacd0828d4a95684fbf691e28730b229c5a8b799.zip
ospf6d: Json support added for command "show ipv6 ospf6 route [json]"
Modify code to add JSON format output in show command "show ipv6 ospf6 route [<intra-area|inter-area|external-1| external-2|X:X::X:X|X:X::X:X/M|detail|summary>]" with proper formating Signed-off-by: Yash Ranjan <ranjany@vmware.com>
Diffstat (limited to 'ospf6d/ospf6d.c')
-rw-r--r--ospf6d/ospf6d.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ospf6d/ospf6d.c b/ospf6d/ospf6d.c
index 02eb4baf8..8d9c85fd0 100644
--- a/ospf6d/ospf6d.c
+++ b/ospf6d/ospf6d.c
@@ -1006,7 +1006,7 @@ DEFUN (show_ipv6_ospf6_border_routers,
if (strmatch(argv[idx_ipv4]->text, "detail")) {
for (ro = ospf6_route_head(ospf6->brouter_table); ro;
ro = ospf6_route_next(ro))
- ospf6_route_show_detail(vty, ro);
+ ospf6_route_show_detail(vty, ro, NULL, false);
} else {
inet_pton(AF_INET, argv[idx_ipv4]->arg, &adv_router);
@@ -1019,7 +1019,7 @@ DEFUN (show_ipv6_ospf6_border_routers,
return CMD_SUCCESS;
}
- ospf6_route_show_detail(vty, ro);
+ ospf6_route_show_detail(vty, ro, NULL, false);
return CMD_SUCCESS;
}
} else {