mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-12 09:52:27 +00:00
pimd: Cleanup pim_jp_agg_upstream_verification function
Do not use pimg, figure out which instance we are in and use that. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
This commit is contained in:
parent
d9c9a9ee06
commit
b236555851
@ -215,9 +215,11 @@ void pim_jp_agg_upstream_verification(struct pim_upstream *up, bool ignore)
|
||||
#ifdef PIM_JP_AGG_DEBUG
|
||||
struct listnode *node;
|
||||
struct interface *ifp;
|
||||
struct pim_interface *pim_ifp = up->rpf.source_nexthop.interface->info;
|
||||
struct pim_instance *pim = pim_ifp->pim;
|
||||
|
||||
for (ALL_LIST_ELEMENTS_RO(vrf_iflist(pimg->vrf_id), node, ifp)) {
|
||||
struct pim_interface *pim_ifp = ifp->info;
|
||||
for (ALL_LIST_ELEMENTS_RO(vrf_iflist(pim->vrf_id), node, ifp)) {
|
||||
pim_ifp = ifp->info;
|
||||
struct listnode *nnode;
|
||||
|
||||
if (ignore && ifp == up->rpf.source_nexthop.interface)
|
||||
|
Loading…
Reference in New Issue
Block a user