diff options
| author | Donald Sharp <sharpd@nvidia.com> | 2023-03-28 15:49:50 -0400 |
|---|---|---|
| committer | Donald Sharp <sharpd@nvidia.com> | 2023-03-28 15:49:50 -0400 |
| commit | 9a7d1e7427a1c7d24e270ad12cd3f45be49e9a51 (patch) | |
| tree | b95d6fbcc770a2ffc44ea6f8d1d727c4b21bd8e4 /zebra/zebra_rnh.c | |
| parent | 9b00c0a1657230ad9f2a437651cd05c3b7e02d06 (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/zebra_rnh.c')
| -rw-r--r-- | zebra/zebra_rnh.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/zebra/zebra_rnh.c b/zebra/zebra_rnh.c index abb10e21cc..3bbcd38d1c 100644 --- a/zebra/zebra_rnh.c +++ b/zebra/zebra_rnh.c @@ -326,7 +326,7 @@ void zebra_register_rnh_pseudowire(vrf_id_t vrf_id, struct zebra_pw *pw, *nht_exists = false; - zvrf = vrf_info_lookup(vrf_id); + zvrf = zebra_vrf_lookup_by_id(vrf_id); if (!zvrf) return; |
