zebra_vrf lookup fix in upstream VRF patches

Ticket:
Reviewed By:
Testing Done:

<DETAILED DESCRIPTION (REPLACE)>
This commit is contained in:
Vipin Kumar 2015-10-30 02:12:14 -07:00
parent 8f7d9fc088
commit 92955671de

View File

@ -79,9 +79,6 @@ static const struct
/* no entry/default: 150 */
};
/* Vector for routing table. */
static vector zebra_vrf_vector;
/*
* nexthop_type_to_str
*/
@ -4178,7 +4175,7 @@ zebra_vrf_alloc (vrf_id_t vrf_id)
struct zebra_vrf *
zebra_vrf_lookup (vrf_id_t vrf_id)
{
return vector_lookup (zebra_vrf_vector, vrf_id);
return vrf_info_lookup (vrf_id);
}
/* Lookup the routing table in an enabled VRF. */