mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-12-30 15:51:59 +00:00
Merge pull request #5656 from pguibert6WIND/import_evpn_entries
bgpd: import evpn entries with nexthop self attribute
This commit is contained in:
commit
fa7f9d61eb
@ -2704,6 +2704,8 @@ static int install_evpn_route_entry_in_vrf(struct bgp *bgp_vrf,
|
||||
pi->attr = attr_new;
|
||||
pi->uptime = bgp_clock();
|
||||
}
|
||||
/* as it is an importation, change nexthop */
|
||||
bgp_path_info_set_flag(rn, pi, BGP_PATH_ANNC_NH_SELF);
|
||||
|
||||
bgp_aggregate_increment(bgp_vrf, &rn->p, pi, afi, safi);
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user