mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-06 21:50:39 +00:00
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:
commit
0acdda46c4
@ -2475,7 +2475,7 @@ skip_check:
|
|||||||
|
|
||||||
memset(&nexthop->rmap_src.ipv6, 0, sizeof(union g_addr));
|
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 (!zvrf) {
|
||||||
if (IS_ZEBRA_DEBUG_RIB_DETAILED)
|
if (IS_ZEBRA_DEBUG_RIB_DETAILED)
|
||||||
zlog_debug(" %s: zvrf is NULL", __func__);
|
zlog_debug(" %s: zvrf is NULL", __func__);
|
||||||
|
Loading…
Reference in New Issue
Block a user