diff options
| author | Jafar Al-Gharaibeh <jafar@atcorp.com> | 2024-11-12 11:45:12 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-11-12 11:45:12 -0600 |
| commit | 81c2fe3453059e5aeb99f5a27c52e9f8c51805b6 (patch) | |
| tree | b6f06013d96aeed7d299e6a6f9471a98f57a1664 | |
| parent | 930ee6927903e83228819a880b9ffebe8892ddff (diff) | |
| parent | 718b76fc3fb77f4f4b4893c55ac17a51cfaa5f21 (diff) | |
Merge pull request #17417 from FRRouting/mergify/bp/stable/10.0/pr-17402
bgpd: Fix for match source-protocol in route-map for redistribute cmd (backport) (backport #17402)
| -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 4367043efe..1ba85adec5 100644 --- a/bgpd/bgp_route.c +++ b/bgpd/bgp_route.c @@ -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); |
