Merge pull request #1346 from donaldsharp/apply_routemap

bgpd: Note routemap information even if peer not activated.
This commit is contained in:
Lou Berger 2017-10-24 11:46:32 -04:00 committed by GitHub
commit 47473bbbc7

View File

@ -2913,10 +2913,6 @@ static void bgp_route_map_process_update(struct bgp *bgp, const char *rmap_name,
for (afi = AFI_IP; afi < AFI_MAX; afi++)
for (safi = SAFI_UNICAST; safi < SAFI_MAX; safi++) {
/* Ignore inactive AFI/SAFI */
if (!peer->afc[afi][safi])
continue;
/* process in/out/import/export/default-orig
* route-maps */
bgp_route_map_process_peer(rmap_name, map, peer,