]> git.puffer.fish Git - mirror/frr.git/commit
bgpd: Attach PMSI to only type-3 routes and rmac to only type-2 routes
authorMitesh Kanjariya <mitesh@marvel-07.cumulusnetworks.com>
Fri, 23 Feb 2018 10:16:47 +0000 (02:16 -0800)
committermitesh <mitesh@cumulusnetworks.com>
Tue, 27 Feb 2018 09:14:43 +0000 (01:14 -0800)
commitbe41eb6823defd48d7e84c63fffb3e618b67ab36
tree4ff4ddf76aa7e21a39e385d909ac0eb66084c90b
parentbc4606bd1ac5c34dc1f735898e0ad37a862e2892
bgpd: Attach PMSI to only type-3 routes and rmac to only type-2 routes

The PMSI attribute is only applicable to EVPN type-3 route.
Rmac is applicable to type-2 and type-5 routes.
We should attach these attributes appropiately based on route-type.

Signed-off-by: Mitesh Kanjariya <mitesh@cumulusnetworks.com>
bgpd/bgp_evpn.c