mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-05-17 11:32:44 +00:00
Merge pull request #11897 from mobash-rasool/fixes2
pimd: Removal of unused function pim_neighbor_find_prefix
This commit is contained in:
commit
9ad6c63528
@ -441,15 +441,6 @@ struct pim_neighbor *pim_neighbor_find(struct interface *ifp,
|
|||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
struct pim_neighbor *pim_neighbor_find_prefix(struct interface *ifp,
|
|
||||||
const struct prefix *src_prefix)
|
|
||||||
{
|
|
||||||
pim_addr addr;
|
|
||||||
|
|
||||||
addr = pim_addr_from_prefix(src_prefix);
|
|
||||||
return pim_neighbor_find(ifp, addr);
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Find the *one* interface out
|
* Find the *one* interface out
|
||||||
* this interface. If more than
|
* this interface. If more than
|
||||||
|
@ -52,8 +52,6 @@ void pim_neighbor_timer_reset(struct pim_neighbor *neigh, uint16_t holdtime);
|
|||||||
void pim_neighbor_free(struct pim_neighbor *neigh);
|
void pim_neighbor_free(struct pim_neighbor *neigh);
|
||||||
struct pim_neighbor *pim_neighbor_find(struct interface *ifp,
|
struct pim_neighbor *pim_neighbor_find(struct interface *ifp,
|
||||||
pim_addr source_addr);
|
pim_addr source_addr);
|
||||||
struct pim_neighbor *pim_neighbor_find_prefix(struct interface *ifp,
|
|
||||||
const struct prefix *src_prefix);
|
|
||||||
struct pim_neighbor *pim_neighbor_find_by_secondary(struct interface *ifp,
|
struct pim_neighbor *pim_neighbor_find_by_secondary(struct interface *ifp,
|
||||||
struct prefix *src);
|
struct prefix *src);
|
||||||
struct pim_neighbor *pim_neighbor_find_if(struct interface *ifp);
|
struct pim_neighbor *pim_neighbor_find_if(struct interface *ifp);
|
||||||
|
Loading…
Reference in New Issue
Block a user