This sends local routes in overlay VRFs to the EPVN VRF when
redistribute configurations are present, rather than to the default VRF.
Signed-off-by: Tuetuopay <tuetuopay@me.com>
Sponsored-by: Scaleway
struct bgp *bgp_def = NULL;
int route_changed = 0;
- bgp_def = bgp_get_default();
+ bgp_def = bgp_get_evpn();
if (!bgp_def)
return 0;
struct bgp_path_info *pi = NULL;
struct bgp *bgp_def = NULL; /* default bgp instance */
- bgp_def = bgp_get_default();
+ bgp_def = bgp_get_evpn();
if (!bgp_def)
return 0;