mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-06 14:29:47 +00:00
Merge pull request #4811 from adharkar/frr-master-rtm_vni
Zebra: Incorrect L3VNI for FPM rtmsg for EVPN RT-5 prefix
This commit is contained in:
commit
ba5d0acfc0
@ -238,7 +238,7 @@ static int netlink_route_info_add_nh(netlink_route_info_t *ri,
|
||||
if (re && CHECK_FLAG(re->flags, ZEBRA_FLAG_EVPN_ROUTE)) {
|
||||
nhi.encap_info.encap_type = FPM_NH_ENCAP_VXLAN;
|
||||
|
||||
zl3vni = zl3vni_from_vrf(ri->rtm_table);
|
||||
zl3vni = zl3vni_from_vrf(nexthop->vrf_id);
|
||||
if (zl3vni && is_l3vni_oper_up(zl3vni)) {
|
||||
|
||||
/* Add VNI to VxLAN encap info */
|
||||
|
Loading…
Reference in New Issue
Block a user