summaryrefslogtreecommitdiffstats
path: root/pimd/pim_msdp.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2018-12-21 15:19:26 +0100
committerDonald Sharp <sharpd@cumulusnetworks.com>2019-01-04 18:23:39 +0100
commit84f259891486ec5b36c2b6475a41dcd7cd87f6f4 (patch)
tree97ebd90650084a8f8def54e848fdff4855660a9f /pimd/pim_msdp.c
parentpimd: Move register_probe_time to pim_router (diff)
downloadfrr-84f259891486ec5b36c2b6475a41dcd7cd87f6f4.tar.xz
frr-84f259891486ec5b36c2b6475a41dcd7cd87f6f4.zip
pimd: Remove pim_msdp_config_write as it was never used
This function was never used, additionally rename the _helper function to this name. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'pimd/pim_msdp.c')
-rw-r--r--pimd/pim_msdp.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/pimd/pim_msdp.c b/pimd/pim_msdp.c
index 7e072e6ad..a4f87fa1a 100644
--- a/pimd/pim_msdp.c
+++ b/pimd/pim_msdp.c
@@ -1523,8 +1523,8 @@ enum pim_msdp_err pim_msdp_mg_src_add(struct pim_instance *pim,
}
/*********************** MSDP feature APIs *********************************/
-int pim_msdp_config_write_helper(struct pim_instance *pim, struct vty *vty,
- const char *spaces)
+int pim_msdp_config_write(struct pim_instance *pim, struct vty *vty,
+ const char *spaces)
{
struct listnode *mbrnode;
struct pim_msdp_mg_mbr *mbr;
@@ -1553,11 +1553,6 @@ int pim_msdp_config_write_helper(struct pim_instance *pim, struct vty *vty,
return count;
}
-int pim_msdp_config_write(struct vty *vty)
-{
- return pim_msdp_config_write_helper(pimg, vty, "");
-}
-
/* Enable feature including active/periodic timers etc. on the first peer
* config. Till then MSDP should just stay quiet. */
static void pim_msdp_enable(struct pim_instance *pim)