Skip to content

Commit

Permalink
Merge pull request #17417 from FRRouting/mergify/bp/stable/10.0/pr-17402
Browse files Browse the repository at this point in the history
bgpd: Fix for match source-protocol in route-map for redistribute cmd (backport) (backport #17402)
  • Loading branch information
Jafaral authored Nov 12, 2024
2 parents 930ee69 + 718b76f commit 81c2fe3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bgpd/bgp_route.c
Original file line number Diff line number Diff line change
Expand Up @@ -8669,6 +8669,7 @@ void bgp_redistribute_add(struct bgp *bgp, struct prefix *p,
memset(&rmap_path, 0, sizeof(rmap_path));
rmap_path.peer = bgp->peer_self;
rmap_path.attr = &attr_new;
rmap_path.type = type;

SET_FLAG(bgp->peer_self->rmap_type,
PEER_RMAP_TYPE_REDISTRIBUTE);
Expand Down

0 comments on commit 81c2fe3

Please sign in to comment.