diff options
| author | Sai Gomathi N <nsaigomathi@vmware.com> | 2022-06-13 01:49:03 -0700 | 
|---|---|---|
| committer | Sai Gomathi N <nsaigomathi@vmware.com> | 2022-06-30 04:09:14 -0700 | 
| commit | fc19632faa63c8a93f99dd12dbde8f51823aca98 (patch) | |
| tree | 9d5be8523ed3bf0c7363d09c4117ac501e31358e /pimd/pim_cmd_common.h | |
| parent | 573a01ba1921402156e1401ec961a2cc2c970591 (diff) | |
pimd, pim6d: Adding json support for show ipv6 nexthop
Moving the reusable code of pim_show_nexthop apis to common file
pim_cmd_common.c file and adding the json support for show ipv6 pim nexthop
Signed-off-by: Sai Gomathi N <nsaigomathi@vmware.com>
Diffstat (limited to 'pimd/pim_cmd_common.h')
| -rw-r--r-- | pimd/pim_cmd_common.h | 4 | 
1 files changed, 2 insertions, 2 deletions
diff --git a/pimd/pim_cmd_common.h b/pimd/pim_cmd_common.h index 67e092e079..2cb031993e 100644 --- a/pimd/pim_cmd_common.h +++ b/pimd/pim_cmd_common.h @@ -107,8 +107,8 @@ void ip_pim_ssm_show_group_range(struct pim_instance *pim, struct vty *vty,  				 bool uj);  int pim_show_nexthop_lookup_cmd_helper(const char *vrf, struct vty *vty,  				       pim_addr source, pim_addr group); -int pim_show_nexthop_cmd_helper(const char *vrf, struct vty *vty); -void pim_show_nexthop(struct pim_instance *pim, struct vty *vty); +int pim_show_nexthop_cmd_helper(const char *vrf, struct vty *vty, bool uj); +void pim_show_nexthop(struct pim_instance *pim, struct vty *vty, bool uj);  int pim_show_neighbors_cmd_helper(const char *vrf, struct vty *vty,  				  const char *json, const char *interface);  int pim_show_neighbors_vrf_all_cmd_helper(struct vty *vty, const char *json,  | 
