summaryrefslogtreecommitdiff
path: root/ospf6d/ospf6_bfd.h
diff options
context:
space:
mode:
authorgithub login name <ranjany@vmware.com>2020-09-28 03:48:37 -0700
committerYash Ranjan <ranjany@vmware.com>2020-11-04 22:44:21 -0800
commit6a5bb30062fbf80dfdfc254ccdec6b425680466f (patch)
treef1cbad9b8d8fcb1fc3df324d138e8286bc01e984 /ospf6d/ospf6_bfd.h
parentdc7b85a2f954bab10c5d6b89a9ec75f609ef2a96 (diff)
ospf6d: Json support added for command "show ipv6 ospf6 neighbor [json]"
Modify code to add JSON format output in show command "show ipv6 ospf6 neighbor" with proper formating Signed-off-by: Yash Ranjan <ranjany@vmware.com>
Diffstat (limited to 'ospf6d/ospf6_bfd.h')
-rw-r--r--ospf6d/ospf6_bfd.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/ospf6d/ospf6_bfd.h b/ospf6d/ospf6_bfd.h
index 19dff1ff7c..b4e798e911 100644
--- a/ospf6d/ospf6_bfd.h
+++ b/ospf6d/ospf6_bfd.h
@@ -19,7 +19,7 @@
* with this program; see the file COPYING; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
-
+#include "lib/json.h"
#ifndef OSPF6_BFD_H
#define OSPF6_BFD_H
@@ -35,8 +35,8 @@ extern void ospf6_bfd_info_nbr_create(struct ospf6_interface *oi,
extern void ospf6_bfd_info_free(void **bfd_info);
-extern void ospf6_bfd_show_info(struct vty *vty, void *bfd_info,
- int param_only);
+extern void ospf6_bfd_show_info(struct vty *vty, void *bfd_info, int param_only,
+ json_object *json_obj, bool use_json);
extern void ospf6_bfd_reg_dereg_nbr(struct ospf6_neighbor *on, int command);
#endif /* OSPF6_BFD_H */