summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2019-08-10 02:39:34 +0200
committerGitHub <noreply@github.com>2019-08-10 02:39:34 +0200
commitba5d0acfc0db9d44cc4061a6f746f565820cc5d4 (patch)
tree971a94ad8bb56798abd000fdd32e600e1a2be7e1
parentMerge pull request #4806 from chiragshah6/evpn_dev1 (diff)
parentZebra: Incorrect L3VNI for FPM rtmsg for EVPN RT-5 prefix (diff)
downloadfrr-ba5d0acfc0db9d44cc4061a6f746f565820cc5d4.tar.xz
frr-ba5d0acfc0db9d44cc4061a6f746f565820cc5d4.zip
Merge pull request #4811 from adharkar/frr-master-rtm_vni
Zebra: Incorrect L3VNI for FPM rtmsg for EVPN RT-5 prefix
-rw-r--r--zebra/zebra_fpm_netlink.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/zebra/zebra_fpm_netlink.c b/zebra/zebra_fpm_netlink.c
index 822def318..f347d3955 100644
--- a/zebra/zebra_fpm_netlink.c
+++ b/zebra/zebra_fpm_netlink.c
@@ -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 */