Skip to content

Commit

Permalink
Merge pull request #17419 from FRRouting/mergify/bp/stable/9.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
ton31337 authored Nov 13, 2024
2 parents 683e4c6 + afd3d6c commit 904fbc9
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 @@ -8758,6 +8758,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 904fbc9

Please sign in to comment.