]> git.puffer.fish Git - matthieu/frr.git/commitdiff
zebra_vrf lookup fix in upstream VRF patches
authorVipin Kumar <vipin@cumulusnetworks.com>
Fri, 30 Oct 2015 09:12:14 +0000 (02:12 -0700)
committerVipin Kumar <vipin@cumulusnetworks.com>
Fri, 30 Oct 2015 09:12:14 +0000 (02:12 -0700)
Ticket:
Reviewed By:
Testing Done:

<DETAILED DESCRIPTION (REPLACE)>

zebra/zebra_rib.c

index 5fd6545ffed5a286334af60e40f326c2181ccbb1..ffa3161f2b5e57c850a19a146049243bf11d6176 100644 (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. */