diff options
| author | Yash Ranjan <ranjany@vmware.com> | 2020-10-28 03:51:39 -0700 |
|---|---|---|
| committer | Yash Ranjan <ranjany@vmware.com> | 2021-01-26 20:06:02 -0800 |
| commit | eacd0828d4a95684fbf691e28730b229c5a8b799 (patch) | |
| tree | d432a4eae6ed9f5e79240c3700f394d23c4c0269 /ospf6d/ospf6_interface.c | |
| parent | 504bb0373607006fe988d8e8ef657881e340cb7b (diff) | |
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/ospf6_interface.c')
| -rw-r--r-- | ospf6d/ospf6_interface.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ospf6d/ospf6_interface.c b/ospf6d/ospf6_interface.c index 948880a4b5..fd58789212 100644 --- a/ospf6d/ospf6_interface.c +++ b/ospf6d/ospf6_interface.c @@ -1447,8 +1447,8 @@ DEFUN (show_ipv6_ospf6_interface_ifname_prefix, return CMD_WARNING; } - ospf6_route_table_show(vty, idx_prefix, argc, argv, - oi->route_connected); + ospf6_route_table_show(vty, idx_prefix, argc, argv, oi->route_connected, + false); return CMD_SUCCESS; } @@ -1482,7 +1482,7 @@ DEFUN (show_ipv6_ospf6_interface_prefix, continue; ospf6_route_table_show(vty, idx_prefix, argc, argv, - oi->route_connected); + oi->route_connected, false); } return CMD_SUCCESS; |
