]> git.proxmox.com Git - mirror_frr.git/commit - zebra/zebra_fpm_netlink.c
Zebra: Incorrect L3VNI for FPM rtmsg for EVPN RT-5 prefix
authorAmeya Dharkar <adharkar@vmware.com>
Fri, 9 Aug 2019 22:21:27 +0000 (15:21 -0700)
committerAmeya Dharkar <adharkar@vmware.com>
Fri, 9 Aug 2019 22:23:46 +0000 (15:23 -0700)
commitcc83907475a21327e89da60532f0490619a9f07e
tree971a94ad8bb56798abd000fdd32e600e1a2be7e1
parentfbae9087cd6d8dd94544cfd7ced010ddd9f0fc36
Zebra: Incorrect L3VNI for FPM rtmsg for EVPN RT-5 prefix

We used the vrf_id in the rtm_table field of the netlink rtmsg to fetch L3VNI.
But, now we program table_id to rtm_table field instead of vrf_id.
Thus, L3VNI fetched using rtm_table is incorrect.

Instead, use nexthop->vrf_id to fetch the L3VNI.

Signed-off-by: Ameya Dharkar <adharkar@vmware.com>
zebra/zebra_fpm_netlink.c