summaryrefslogtreecommitdiff
path: root/zebra/redistribute.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@nvidia.com>2023-03-28 15:49:50 -0400
committerDonald Sharp <sharpd@nvidia.com>2023-03-28 15:49:50 -0400
commit9a7d1e7427a1c7d24e270ad12cd3f45be49e9a51 (patch)
treeb95d6fbcc770a2ffc44ea6f8d1d727c4b21bd8e4 /zebra/redistribute.c
parent9b00c0a1657230ad9f2a437651cd05c3b7e02d06 (diff)
zebra: Use zebra_vrf_lookup_by_id when we can
Let's make this as consistent as is possible. Signed-off-by: Donald Sharp <sharpd@nvidia.com>
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;