diff options
Diffstat (limited to 'pimd/pim_upstream.c')
-rw-r--r-- | pimd/pim_upstream.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pimd/pim_upstream.c b/pimd/pim_upstream.c index 47a70eb09..fdd37f2b9 100644 --- a/pimd/pim_upstream.c +++ b/pimd/pim_upstream.c @@ -868,7 +868,7 @@ int pim_upstream_evaluate_join_desired(struct pim_instance *pim, struct pim_upstream *starup = up->parent; int ret = 0; - RB_FOREACH (ifp, if_name_head, &pim->vrf->ifaces_by_name) { + FOR_ALL_INTERFACES (pim->vrf, ifp) { if (!ifp->info) continue; @@ -1439,7 +1439,7 @@ int pim_upstream_inherited_olist_decide(struct pim_instance *pim, up->channel_oil = pim_channel_oil_add( pim, &up->sg, pim_ifp->mroute_vif_index); - RB_FOREACH (ifp, if_name_head, &pim->vrf->ifaces_by_name) { + FOR_ALL_INTERFACES (pim->vrf, ifp) { if (!ifp->info) continue; |