mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-08 07:37:29 +00:00
Merge pull request #15558 from opensourcerouting/fix/bgp_dynamic_neighbors_default_advertise
bgpd: Update default-originate route-map actual map structure
This commit is contained in:
commit
8341f6464c
@ -4460,6 +4460,13 @@ static void bgp_route_map_update_peer_group(const char *rmap_name,
|
|||||||
filter->map[direct].name)
|
filter->map[direct].name)
|
||||||
== 0))
|
== 0))
|
||||||
filter->map[direct].map = map;
|
filter->map[direct].map = map;
|
||||||
|
|
||||||
|
if (group->conf->default_rmap[afi][safi].name &&
|
||||||
|
strmatch(group->conf->default_rmap[afi][safi]
|
||||||
|
.name,
|
||||||
|
rmap_name))
|
||||||
|
group->conf->default_rmap[afi][safi].map =
|
||||||
|
map;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (filter->usmap.name
|
if (filter->usmap.name
|
||||||
|
Loading…
Reference in New Issue
Block a user