diff options
| author | Jafar Al-Gharaibeh <jafar@atcorp.com> | 2022-02-28 14:47:16 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-02-28 14:47:16 -0600 |
| commit | 0acdda46c4b95b508e2061a84d1bcfe754e0b835 (patch) | |
| tree | b8cc328161e3b568cffcd5a8d388c7eb6d83cd78 /zebra/zebra_nhg.c | |
| parent | 32c7d45175dbf152d14671831d444061d5589736 (diff) | |
| parent | 45dafca86cf68e7351be997351f2b1da623401a6 (diff) | |
Merge pull request #10683 from donaldsharp/correct_vrf
zebra: Use the routes vrf not the nexthop vrf for route-map application
Diffstat (limited to 'zebra/zebra_nhg.c')
| -rw-r--r-- | zebra/zebra_nhg.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/zebra/zebra_nhg.c b/zebra/zebra_nhg.c index 858309f3e7..e1d28e1534 100644 --- a/zebra/zebra_nhg.c +++ b/zebra/zebra_nhg.c @@ -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__); |
