Merge pull request #10683 from donaldsharp/correct_vrf

zebra: Use the routes vrf not the nexthop vrf for route-map application
This commit is contained in:
Jafar Al-Gharaibeh 2022-02-28 14:47:16 -06:00 committed by GitHub
commit 0acdda46c4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2475,7 +2475,7 @@ skip_check:
memset(&nexthop->rmap_src.ipv6, 0, sizeof(union g_addr));
zvrf = zebra_vrf_lookup_by_id(nexthop->vrf_id);
zvrf = zebra_vrf_lookup_by_id(re->vrf_id);
if (!zvrf) {
if (IS_ZEBRA_DEBUG_RIB_DETAILED)
zlog_debug(" %s: zvrf is NULL", __func__);