From: Vipin Kumar Date: Fri, 30 Oct 2015 09:12:14 +0000 (-0700) Subject: zebra_vrf lookup fix in upstream VRF patches X-Git-Tag: frr-2.0-rc1~1213^2~2 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=92955671de04097089fc3fd62dda351ab00b0ce6;p=matthieu%2Ffrr.git zebra_vrf lookup fix in upstream VRF patches Ticket: Reviewed By: Testing Done: --- diff --git a/zebra/zebra_rib.c b/zebra/zebra_rib.c index 5fd6545ffe..ffa3161f2b 100644 --- a/zebra/zebra_rib.c +++ b/zebra/zebra_rib.c @@ -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. */