diff options
| author | Sarita Patra <saritap@vmware.com> | 2022-07-12 04:16:17 -0700 |
|---|---|---|
| committer | Sarita Patra <saritap@vmware.com> | 2022-10-20 01:07:48 -0700 |
| commit | aaf46b1edc369dc7605f7008720e6af27381d3b0 (patch) | |
| tree | e852e9830383e6c8a6d211f3ab352350e85539d2 /pimd/pim_cmd_common.h | |
| parent | dfeda85c4bd6d19ee711750e8b8de6c4f6e82762 (diff) | |
pimd: Add vrf optional parameter in "show ip pim bsr" cmd
Added common API pim_show_bsr_helper to suppport both PIM and
PIMV6.
pim_show_bsr() is moved to pim_cmd_common.c file.
Signed-off-by: Sarita Patra <saritap@vmware.com>
Diffstat (limited to 'pimd/pim_cmd_common.h')
| -rw-r--r-- | pimd/pim_cmd_common.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pimd/pim_cmd_common.h b/pimd/pim_cmd_common.h index 6a72664a55..5ab2fabd07 100644 --- a/pimd/pim_cmd_common.h +++ b/pimd/pim_cmd_common.h @@ -190,6 +190,8 @@ void pim_show_interface_traffic(struct pim_instance *pim, struct vty *vty, int pim_show_interface_traffic_helper(const char *vrf, const char *if_name, struct vty *vty, bool uj); void clear_pim_interfaces(struct pim_instance *pim); +void pim_show_bsr(struct pim_instance *pim, struct vty *vty, bool uj); +int pim_show_bsr_helper(const char *vrf, struct vty *vty, bool uj); /* * Special Macro to allow us to get the correct pim_instance; */ |
