summaryrefslogtreecommitdiffstats
path: root/pimd/pim_neighbor.h
diff options
context:
space:
mode:
authorSarita Patra <saritap@vmware.com>2023-01-23 06:10:45 +0100
committerSarita Patra <saritap@vmware.com>2023-02-24 13:40:38 +0100
commit3dbf370ac0a7cb0f10c56c37286adf971215dff1 (patch)
treec9905855a1f63c0653437b53381fcd797157afe4 /pimd/pim_neighbor.h
parentzebra: Send nexthop ifindex for type NEXTHOP_TYPE_IPV6 (diff)
downloadfrr-3dbf370ac0a7cb0f10c56c37286adf971215dff1.tar.xz
frr-3dbf370ac0a7cb0f10c56c37286adf971215dff1.zip
pimd,pim6d: Modify pim_neighbor_find() API
Modify pim_neighbor_find() API to find the neighbor in neighbor secondary list. Signed-off-by: Sarita Patra <saritap@vmware.com>
Diffstat (limited to 'pimd/pim_neighbor.h')
-rw-r--r--pimd/pim_neighbor.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/pimd/pim_neighbor.h b/pimd/pim_neighbor.h
index e00f99fe2..f7375745a 100644
--- a/pimd/pim_neighbor.h
+++ b/pimd/pim_neighbor.h
@@ -38,7 +38,7 @@ struct pim_neighbor {
void pim_neighbor_timer_reset(struct pim_neighbor *neigh, uint16_t holdtime);
void pim_neighbor_free(struct pim_neighbor *neigh);
struct pim_neighbor *pim_neighbor_find(struct interface *ifp,
- pim_addr source_addr);
+ pim_addr source_addr, bool secondary);
struct pim_neighbor *pim_neighbor_find_by_secondary(struct interface *ifp,
struct prefix *src);
struct pim_neighbor *pim_neighbor_find_if(struct interface *ifp);