diff options
| author | Nitin Soni <nsoni@cumulusnetworks.com> | 2019-01-24 01:43:48 -0800 |
|---|---|---|
| committer | Nitin Soni <nsoni@cumulusnetworks.com> | 2019-01-24 01:43:48 -0800 |
| commit | 2686df6ad834e188ad2bd11e35d40b477373cc5f (patch) | |
| tree | 34118ac8b97bb6a2051784e11ada9fe96ba73241 /lib/if_rmap.c | |
| parent | 262d4dda2aa009f200370a4c4635899ceb85ab90 (diff) | |
bgpd: route-map fails to filter type-5 routes
Route-map filtering is based on the value of
"bgp->adv_cmd_rmap[afi][safi].map". For example, we advertise routes in
bgp_evpn_advertise_type5_routes() based on the value of
"bgp->adv_cmd_rmap[afi][safi].map". This variable gets populated in vty
handler bgp_evpn_advertise_type5. This variable will not get populated
if we have not yet applied the route-map configuration. The fix is to
correctly populate "bgp->adv_cmd_rmap[afi][safi].map" in
bgp_route_map_process_update() if it has not been populated before.
Ticket: CM-23263
Signed-off-by: Nitin Soni <nsoni@cumulusnetworks.com>
Reviewed-by: CCR-8163
Diffstat (limited to 'lib/if_rmap.c')
0 files changed, 0 insertions, 0 deletions
