mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-07 20:34:33 +00:00
bgpd: Log prefix when community filter fails
This is needed when NO_ADVERTISE or NO_EXPORT is handled for outgoing updates. Signed-off-by: Donatas Abraitis <donatas.abraitis@gmail.com>
This commit is contained in:
parent
86fc0eb7d8
commit
9e2912897d
@ -1836,7 +1836,8 @@ bool subgroup_announce_check(struct bgp_dest *dest, struct bgp_path_info *pi,
|
|||||||
/* If community is not disabled check the no-export and local. */
|
/* If community is not disabled check the no-export and local. */
|
||||||
if (!transparent && bgp_community_filter(peer, piattr)) {
|
if (!transparent && bgp_community_filter(peer, piattr)) {
|
||||||
if (bgp_debug_update(NULL, p, subgrp->update_group, 0))
|
if (bgp_debug_update(NULL, p, subgrp->update_group, 0))
|
||||||
zlog_debug("%s: community filter check fail", __func__);
|
zlog_debug("%s: community filter check fail for %pFX",
|
||||||
|
__func__, p);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user