summaryrefslogtreecommitdiff
path: root/pimd/pim_iface.c
diff options
context:
space:
mode:
authorIgor Ryzhov <iryzhov@nfware.com>2021-11-26 17:24:38 +0300
committerGitHub <noreply@github.com>2021-11-26 17:24:38 +0300
commitfa36b3d1255c0e4868bc62604af2485a6cb574ac (patch)
tree51c930b1a45078baef46b0fe40b627fb233e0ce2 /pimd/pim_iface.c
parente44c9059e0ac1a6966f14b7fc3ae789554792a46 (diff)
parentb850813975cefb317b0b19e4d06f919ad90db8be (diff)
Merge pull request #10126 from SaiGomathiN/cleanup
pimd: removing no caller functions
Diffstat (limited to 'pimd/pim_iface.c')
-rw-r--r--pimd/pim_iface.c20
1 files changed, 0 insertions, 20 deletions
diff --git a/pimd/pim_iface.c b/pimd/pim_iface.c
index 60152f355e..e007bdcc10 100644
--- a/pimd/pim_iface.c
+++ b/pimd/pim_iface.c
@@ -828,26 +828,6 @@ void pim_if_addr_del_all_igmp(struct interface *ifp)
}
}
-void pim_if_addr_del_all_pim(struct interface *ifp)
-{
- struct connected *ifc;
- struct listnode *node;
- struct listnode *nextnode;
-
- /* PIM/IGMP enabled ? */
- if (!ifp->info)
- return;
-
- for (ALL_LIST_ELEMENTS(ifp->connected, node, nextnode, ifc)) {
- struct prefix *p = ifc->address;
-
- if (p->family != AF_INET)
- continue;
-
- pim_if_addr_del_pim(ifc);
- }
-}
-
struct in_addr pim_find_primary_addr(struct interface *ifp)
{
struct connected *ifc;