]> git.proxmox.com Git - mirror_frr.git/commit - bgpd/bgp_mplsvpn.h
bgpd: Correctly identify VPN-imported routes in a VRF
authorvivek <vivek@cumulusnetworks.com>
Fri, 1 Mar 2019 06:45:04 +0000 (06:45 +0000)
committervivek <vivek@cumulusnetworks.com>
Fri, 1 Mar 2019 06:45:04 +0000 (06:45 +0000)
commit9544ddb28842e5e73e86880f3b12fa52bf264817
treed00ed33cd6155a6fcbc817ec1d0f9637d3206fb3
parentf106e3a72d37173b68f3f253d70a4af4ab7a7726
bgpd: Correctly identify VPN-imported routes in a VRF

Refine check that looks for VPN routes imported into a VRF because
a VRF can have other imported routes too like IPv4 and IPv6 unicast
routes sourced from EVPN type-2 and type-5 routes.

Signed-off-by: Vivek Venkatraman <vivek@cumulusnetworks.com>
Reviewed-by: Anuradha Karuppiah <anuradhak@cumulusnetworks.com>
Reviewed-by: Donald Sharp <sharpd@cumulusnetworks.com>
bgpd/bgp_mplsvpn.c
bgpd/bgp_mplsvpn.h