]> git.proxmox.com Git - mirror_frr.git/commit - zebra/zebra_vxlan.c
zebra: Change checks for EVPN VRF to a macro
authorTuetuopay <tuetuopay@me.com>
Wed, 27 Mar 2019 01:13:16 +0000 (02:13 +0100)
committerTuetuopay <tuetuopay@me.com>
Wed, 27 Mar 2019 01:13:16 +0000 (02:13 +0100)
commit986512a3200bfc83f80b9f559917ece4f123e4a4
treeefeac85f12f9d4b8679abf416d18674918fb79b7
parentf920dd6dc967f0d5c984387628b572d16431f38a
zebra: Change checks for EVPN VRF to a macro

A lot of checks relied on the VRF ID and the EVPN VRF ID to be the same.
This patch changes those checks to the EVPN_ENABLED macro, which checks
if the VRF is the EVPN one.

Signed-off-by: Tuetuopay <tuetuopay@me.com>
Sponsored-by: Scaleway
zebra/zebra_vxlan.c