mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-13 21:10:28 +00:00
bgpd: import evpn entries with nexthop self attribute
import epvn entries with nexthop self attribute. Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
This commit is contained in:
parent
948ae621cb
commit
d846e91701
@ -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