Skip to content

Commit

Permalink
Merge pull request #17402 from opensourcerouting/fix/backport_031d427…
Browse files Browse the repository at this point in the history
…1018e827010abfa8f3ecfe60bbf1de21d_10.1

bgpd: Fix for match source-protocol in route-map for redistribute cmd (backport)
  • Loading branch information
riw777 authored Nov 12, 2024
2 parents 7f28c47 + f93e5aa commit 5755329
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 @@ -8963,6 +8963,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 5755329

Please sign in to comment.