mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-07-27 15:23:39 +00:00
Merge pull request #17575 from opensourcerouting/fix/outgoing_rmap_supressed
bgpd: Show which route-map is used when the prefix is filtered by route-map
This commit is contained in:
commit
06c72fae70
@ -2587,12 +2587,11 @@ bool subgroup_announce_check(struct bgp_dest *dest, struct bgp_path_info *pi,
|
|||||||
|
|
||||||
if (ret == RMAP_DENYMATCH) {
|
if (ret == RMAP_DENYMATCH) {
|
||||||
if (bgp_debug_update(NULL, p, subgrp->update_group, 0))
|
if (bgp_debug_update(NULL, p, subgrp->update_group, 0))
|
||||||
zlog_debug(
|
zlog_debug("%pBP [Update:SEND] %pFX is filtered by route-map (%s) '%s'",
|
||||||
"%pBP [Update:SEND] %pFX is filtered by route-map '%s'",
|
peer, p,
|
||||||
peer, p,
|
bgp_path_suppressed(pi) ? "unsuppress-map" : "out",
|
||||||
bgp_path_suppressed(pi)
|
bgp_path_suppressed(pi) ? UNSUPPRESS_MAP_NAME(filter)
|
||||||
? UNSUPPRESS_MAP_NAME(filter)
|
: ROUTE_MAP_OUT_NAME(filter));
|
||||||
: ROUTE_MAP_OUT_NAME(filter));
|
|
||||||
bgp_attr_flush(rmap_path.attr);
|
bgp_attr_flush(rmap_path.attr);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user