summaryrefslogtreecommitdiff
path: root/zebra/redistribute.c
diff options
context:
space:
mode:
Diffstat (limited to 'zebra/redistribute.c')
-rw-r--r--zebra/redistribute.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/zebra/redistribute.c b/zebra/redistribute.c
index 8cdc419cce..d2fa85eb64 100644
--- a/zebra/redistribute.c
+++ b/zebra/redistribute.c
@@ -145,7 +145,7 @@ static bool zebra_redistribute_check(const struct route_node *rn,
return false;
afi = family2afi(rn->p.family);
- zvrf = vrf_info_lookup(re->vrf_id);
+ zvrf = zebra_vrf_lookup_by_id(re->vrf_id);
if (re->vrf_id == VRF_DEFAULT && zvrf->table_id != re->table)
return false;