mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-06 14:29:47 +00:00
pimd: Handle rpf_addr in pim_ifchannel code
Signed-off-by: sarita patra <saritap@vmware.com>
This commit is contained in:
parent
6288ebcf22
commit
8d61ad0f17
@ -685,8 +685,7 @@ static void on_ifjoin_prune_pending_timer(struct thread *t)
|
||||
struct pim_rpf rpf;
|
||||
|
||||
rpf.source_nexthop.interface = ifp;
|
||||
pim_addr_to_prefix(&rpf.rpf_addr,
|
||||
pim_ifp->primary_address);
|
||||
rpf.rpf_addr = pim_ifp->primary_address;
|
||||
pim_jp_agg_single_upstream_send(
|
||||
&rpf, ch->upstream, 0);
|
||||
}
|
||||
@ -751,7 +750,7 @@ static void check_recv_upstream(int is_join, struct interface *recv_ifp,
|
||||
return;
|
||||
}
|
||||
|
||||
rpf_addr = pim_addr_from_prefix(&up->rpf.rpf_addr);
|
||||
rpf_addr = up->rpf.rpf_addr;
|
||||
|
||||
/* upstream directed to RPF'(S,G) ? */
|
||||
if (pim_addr_cmp(upstream, rpf_addr)) {
|
||||
|
Loading…
Reference in New Issue
Block a user