/* if no interface address is present, set list to eigrp process struct
*/
e = eigrp_lookup();
+ assert(e != NULL);
/* Check if distribute-list was set for process or interface */
if (!dist->ifname) {
*/
void eigrp_distribute_update_all(struct prefix_list *notused)
{
+ struct vrf *vrf = vrf_lookup_by_id(VRF_DEFAULT);
struct interface *ifp;
- struct listnode *node, *nnode;
- for (ALL_LIST_ELEMENTS(vrf_iflist(VRF_DEFAULT), node, nnode, ifp))
+ FOR_ALL_INTERFACES (vrf, ifp)
eigrp_distribute_update_interface(ifp);
}