mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-04-29 14:33:09 +00:00
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>
This commit is contained in:
parent
a6c5db596e
commit
84f2598914
@ -1523,7 +1523,7 @@ 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,
|
||||
int pim_msdp_config_write(struct pim_instance *pim, struct vty *vty,
|
||||
const char *spaces)
|
||||
{
|
||||
struct listnode *mbrnode;
|
||||
@ -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)
|
||||
|
@ -232,8 +232,7 @@ void pim_msdp_peer_reset_tcp_conn(struct pim_msdp_peer *mp, const char *rc_str);
|
||||
int pim_msdp_write(struct thread *thread);
|
||||
char *pim_msdp_peer_key_dump(struct pim_msdp_peer *mp, char *buf, int buf_size,
|
||||
bool long_format);
|
||||
int pim_msdp_config_write(struct vty *vty);
|
||||
int pim_msdp_config_write_helper(struct pim_instance *pim, struct vty *vty,
|
||||
int pim_msdp_config_write(struct pim_instance *pim, struct vty *vty,
|
||||
const char *spaces);
|
||||
void pim_msdp_peer_pkt_txed(struct pim_msdp_peer *mp);
|
||||
void pim_msdp_sa_ref(struct pim_instance *pim, struct pim_msdp_peer *mp,
|
||||
|
@ -163,7 +163,7 @@ int pim_global_config_write_worker(struct pim_instance *pim, struct vty *vty)
|
||||
else
|
||||
sprintf(spaces, "%s", " ");
|
||||
|
||||
writes += pim_msdp_config_write_helper(pim, vty, spaces);
|
||||
writes += pim_msdp_config_write(pim, vty, spaces);
|
||||
|
||||
if (!pim->send_v6_secondary) {
|
||||
vty_out(vty, "%sno ip pim send-v6-secondary\n", spaces);
|
||||
|
Loading…
Reference in New Issue
Block a user