summaryrefslogtreecommitdiff
path: root/pimd/pim_cmd_common.h
diff options
context:
space:
mode:
authorSarita Patra <saritap@vmware.com>2022-07-12 06:39:56 -0700
committerSarita Patra <saritap@vmware.com>2022-10-20 01:07:48 -0700
commita0299f87cf74b9c55af9f685a70892c9ee55973b (patch)
treecff70d6ec6eb9f8b7e5a8c007db68fb29c8c5a45 /pimd/pim_cmd_common.h
parenta07e7dfaeeae6b64e654feb768e2c7c1ab97c34f (diff)
pimd: Move "show ip pim bsm-database" cmd to DEFPY
Added common pim_show_bsm_db_helper to suppport both PIM and PIMV6. pim_show_bsm_db 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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/pimd/pim_cmd_common.h b/pimd/pim_cmd_common.h
index 22e23170d1..d34a4af9e1 100644
--- a/pimd/pim_cmd_common.h
+++ b/pimd/pim_cmd_common.h
@@ -120,6 +120,7 @@ void pim_show_neighbors(struct pim_instance *pim, struct vty *vty,
json_object *json);
int pim_show_group_rp_mappings_info_helper(const char *vrf, struct vty *vty,
bool uj);
+int pim_show_bsm_db_helper(const char *vrf, struct vty *vty, bool uj);
int gm_process_query_max_response_time_cmd(struct vty *vty,
const char *qmrt_str);
int gm_process_no_query_max_response_time_cmd(struct vty *vty);