mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-05-28 17:36:02 +00:00
pimd: drop redundant checks for RPF interface
pim_upstream_kat_start_ok was checking if RPF interface was present, twice! Signed-off-by: Anuradha Karuppiah <anuradhak@cumulusnetworks.com>
This commit is contained in:
parent
9e558d9ac8
commit
a1be09396c
@ -1897,8 +1897,7 @@ static bool pim_upstream_kat_start_ok(struct pim_upstream *up)
|
||||
if (pim_ifp->mroute_vif_index != c_oil->oil.mfcc_parent)
|
||||
return false;
|
||||
|
||||
if (up->rpf.source_nexthop.interface &&
|
||||
pim_if_connected_to_source(up->rpf.source_nexthop.interface,
|
||||
if (pim_if_connected_to_source(up->rpf.source_nexthop.interface,
|
||||
up->sg.src)) {
|
||||
return true;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user