diff options
| author | Donatas Abraitis <donatas@opensourcerouting.org> | 2024-11-10 19:13:14 +0200 | 
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-11-10 19:13:14 +0200 | 
| commit | 026f0ddb69ecc1a617fec876c7fd6045f091fe8c (patch) | |
| tree | 2f7297e4fb89114a1aa599d18b8dbbd86e588ee2 /bgpd/bgp_route.c | |
| parent | 6afff0c17ff207e197793318674f6083840f53d5 (diff) | |
| parent | 031d4271018e827010abfa8f3ecfe60bbf1de21d (diff) | |
Merge pull request #17397 from FRRouting/mergify/bp/stable/10.2/pr-17362
bgpd: Fix for match source-protocol in route-map for redistribute cmd (backport #17362)
Diffstat (limited to 'bgpd/bgp_route.c')
| -rw-r--r-- | bgpd/bgp_route.c | 1 | 
1 files changed, 1 insertions, 0 deletions
diff --git a/bgpd/bgp_route.c b/bgpd/bgp_route.c index 302feea58c..619252b0c4 100644 --- a/bgpd/bgp_route.c +++ b/bgpd/bgp_route.c @@ -9043,6 +9043,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);  | 
