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:
Russ White 2024-03-19 10:25:29 -04:00 committed by GitHub
commit 8341f6464c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -4460,6 +4460,13 @@ static void bgp_route_map_update_peer_group(const char *rmap_name,
filter->map[direct].name)
== 0))
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