]> git.puffer.fish Git - mirror/frr.git/commit
bgpd: Fix for match source-protocol in route-map for redistribute cmd 17419/head
authorRajasekar Raja <rajasekarr@nvidia.com>
Mon, 21 Oct 2024 17:53:27 +0000 (10:53 -0700)
committerMergify <37929162+mergify[bot]@users.noreply.github.com>
Tue, 12 Nov 2024 15:03:19 +0000 (15:03 +0000)
commitafd3d6c5bd2572a4c14bfe2c4ce26d87745086cc
tree84312d898fa24747c00fc4e72427875ecd3c22b4
parent77fa604f308e1801eedac5e2bc9a37a2099765a5
bgpd: Fix for match source-protocol in route-map for redistribute cmd

A redistribute cmd can have a route-map attached to it and adding the
match source-protocol to that route-map means BGP to filter which
protocol routes to accept among the bunch of routes zebra is sending.

Fixing this since this wasnt implemented earlier.

Ticket :#4119692

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Signed-off-by: Rajasekar Raja <rajasekarr@nvidia.com>
(cherry picked from commit 68358c0f928eafe50c9e73b0cb6a443c03f2a33f)
Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
(cherry picked from commit f93e5aa1663d9b375e0673f4eed367f9a009fa88)
bgpd/bgp_route.c