Merge pull request #10512 from FRRouting/mergify/bp/dev/8.2/pr-10510

bgpd: Flush temporary attributes after route-map apply (backport #10510)
This commit is contained in:
Jafar Al-Gharaibeh 2022-02-07 11:08:11 -06:00 committed by GitHub
commit f49dcb5783
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2200,10 +2200,11 @@ bool subgroup_announce_check(struct bgp_dest *dest, struct bgp_path_info *pi,
if (ret == RMAP_DENYMATCH) {
if (bgp_debug_update(NULL, p, subgrp->update_group, 0))
zlog_debug(
"%s [Update:SEND] %pFX is filtered by route-map",
peer->host, p);
"%s [Update:SEND] %pFX is filtered by route-map '%s'",
peer->host, p,
ROUTE_MAP_OUT_NAME(filter));
bgp_attr_flush(attr);
bgp_attr_flush(&dummy_attr);
return false;
}
}