mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-07-15 11:04:09 +00:00
bgpd: Show which route-map is used when the prefix is filtered by route-map
It might be an unsuppress-map or outbound route-map, let's show which one is used. Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
This commit is contained in:
parent
9797f20a1e
commit
c61f34529b
@ -2587,12 +2587,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(
|
||||
"%pBP [Update:SEND] %pFX is filtered by route-map '%s'",
|
||||
peer, p,
|
||||
bgp_path_suppressed(pi)
|
||||
? UNSUPPRESS_MAP_NAME(filter)
|
||||
: ROUTE_MAP_OUT_NAME(filter));
|
||||
zlog_debug("%pBP [Update:SEND] %pFX is filtered by route-map (%s) '%s'",
|
||||
peer, p,
|
||||
bgp_path_suppressed(pi) ? "unsuppress-map" : "out",
|
||||
bgp_path_suppressed(pi) ? UNSUPPRESS_MAP_NAME(filter)
|
||||
: ROUTE_MAP_OUT_NAME(filter));
|
||||
bgp_attr_flush(rmap_path.attr);
|
||||
return false;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user