diff options
Diffstat (limited to 'ospfd/ospf_te.c')
-rw-r--r-- | ospfd/ospf_te.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/ospfd/ospf_te.c b/ospfd/ospf_te.c index 95610e4c7..86f7e7a53 100644 --- a/ospfd/ospf_te.c +++ b/ospfd/ospf_te.c @@ -2555,8 +2555,7 @@ DEFUN (show_ip_ospf_mpls_te_link, if (!ospf->oi_running) continue; vrf = vrf_lookup_by_id(ospf->vrf_id); - RB_FOREACH (ifp, if_name_head, - &vrf->ifaces_by_name) + FOR_ALL_INTERFACES (vrf, ifp) show_mpls_te_link_sub(vty, ifp); } return CMD_SUCCESS; @@ -2565,7 +2564,7 @@ DEFUN (show_ip_ospf_mpls_te_link, if (ospf == NULL || !ospf->oi_running) return CMD_SUCCESS; vrf = vrf_lookup_by_id(ospf->vrf_id); - RB_FOREACH (ifp, if_name_head, &vrf->ifaces_by_name) + FOR_ALL_INTERFACES (vrf, ifp) show_mpls_te_link_sub(vty, ifp); return CMD_SUCCESS; } @@ -2575,7 +2574,7 @@ DEFUN (show_ip_ospf_mpls_te_link, if (!ospf->oi_running) continue; vrf = vrf_lookup_by_id(ospf->vrf_id); - RB_FOREACH (ifp, if_name_head, &vrf->ifaces_by_name) + FOR_ALL_INTERFACES (vrf, ifp) show_mpls_te_link_sub(vty, ifp); } } |