Skip to content

Commit

Permalink
Merge pull request #15577 from FRRouting/mergify/bp/stable/9.1/pr-15558
Browse files Browse the repository at this point in the history
bgpd: Update default-originate route-map actual map structure (backport #15558)
  • Loading branch information
riw777 authored Mar 19, 2024
2 parents b24011a + 1df7992 commit 2b259ac
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions bgpd/bgp_routemap.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2b259ac

Please sign in to comment.