mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-16 02:30:52 +00:00
Merge pull request #13123 from donaldsharp/fix_route_map_name
bgpd: Fix debug output for route-map names when using a unsuppress-map
This commit is contained in:
commit
743c7461e8
@ -2386,7 +2386,10 @@ bool subgroup_announce_check(struct bgp_dest *dest, struct bgp_path_info *pi,
|
|||||||
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'",
|
"%pBP [Update:SEND] %pFX is filtered by route-map '%s'",
|
||||||
peer, p, ROUTE_MAP_OUT_NAME(filter));
|
peer, p,
|
||||||
|
bgp_path_suppressed(pi)
|
||||||
|
? UNSUPPRESS_MAP_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