]> git.puffer.fish Git - mirror/frr.git/commitdiff
bgpd: Log prefix when community filter fails
authorDonatas Abraitis <donatas.abraitis@gmail.com>
Sun, 24 Jan 2021 08:48:41 +0000 (10:48 +0200)
committerDonatas Abraitis <donatas.abraitis@gmail.com>
Sun, 24 Jan 2021 08:48:41 +0000 (10:48 +0200)
This is needed when NO_ADVERTISE or NO_EXPORT is handled for outgoing
updates.

Signed-off-by: Donatas Abraitis <donatas.abraitis@gmail.com>
bgpd/bgp_route.c

index 6735c1a952fae3eb6bcb80b83e9bded1b9ecb9bb..2a3fdc65c9946f72d27dcea84fc9c6449b4726f0 100644 (file)
@@ -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 (!transparent && bgp_community_filter(peer, piattr)) {
                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;
        }