summaryrefslogtreecommitdiff
path: root/zebra/zebra_rib.c
diff options
context:
space:
mode:
Diffstat (limited to 'zebra/zebra_rib.c')
-rw-r--r--zebra/zebra_rib.c5
1 files changed, 1 insertions, 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. */