]> git.proxmox.com Git - mirror_frr.git/commit - bgpd/bgp_route.c
bgpd: scope evpn specific path selection to type-2 routes
authorNeal Shrader <neal@digitalocean.com>
Thu, 6 May 2021 18:51:06 +0000 (14:51 -0400)
committerNeal Shrader <neal@digitalocean.com>
Mon, 10 May 2021 19:35:57 +0000 (15:35 -0400)
commit5df26422921a943c056aab282b844b43416ac411
treefd44e9262c5096dfc5dfa2c7f2e7c68f18792b0f
parent38861dab3c6825c65fefc351a1cc3b8b398cbc87
bgpd: scope evpn specific path selection to type-2 routes

For EVPN routes, there is specific logic in place for path selection
surrounding MAC Mobility.  For pure type-5 routes, if a route is
advertised with a MED, this is ignored since it ultimately falls inside
of the EVPN specific path selection logic, and ultimately selects the
lower IP address.  This change ensures only type-2 routes fall into the
EVPN BGP path selection.

Signed-off-by: Neal Shrader <neal@digitalocean.com>
bgpd/bgp_route.c