From 92955671de04097089fc3fd62dda351ab00b0ce6 Mon Sep 17 00:00:00 2001 From: Vipin Kumar Date: Fri, 30 Oct 2015 02:12:14 -0700 Subject: [PATCH] zebra_vrf lookup fix in upstream VRF patches Ticket: Reviewed By: Testing Done: --- zebra/zebra_rib.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) 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. */ -- 2.39.5