]> git.puffer.fish Git - mirror/frr.git/commit
bgpd: Set NEXT_HOP attribute for EVPN imported routes 2214/head
authorvivek <vivek@cumulusnetworks.com>
Mon, 7 May 2018 19:04:26 +0000 (12:04 -0700)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Fri, 11 May 2018 12:02:42 +0000 (08:02 -0400)
commit450e362d2a3b417ff1ba48cbb24d3ed0393352ac
treebc22e28c6b66c6ee751db41e5da5b11c799b4e7a
parent528cd74fd326517b2c9d941c9e9803c6c8d17515
bgpd: Set NEXT_HOP attribute for EVPN imported routes

Ensure that when EVPN routes are imported into a VRF as IPv4 routes,
the NEXT_HOP attribute is set. In the absence of this, this attribute
is currently not generated when advertising the route to peers in the
VRF. It is to be noted that the source route (the EVPN route) will only
have the MP_REACH_NLRI attribute that contains the next hop in it.

Signed-off-by: Vivek Venkatraman <vivek@cumulusnetworks.com>
Reviewed-by: Mitesh Kanjariya <mitesh@cumulusnetworks.com>
Reviewed-by: Don Slice <dslice@cumulusnetworks.com>
bgpd/bgp_evpn.c