summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDonatas Abraitis <donatas@opensourcerouting.org>2022-11-18 16:02:46 +0200
committerDonatas Abraitis <donatas@opensourcerouting.org>2022-11-18 16:17:15 +0200
commit6cf8a4bf428d6830eb506fa10c5854c88ca99be0 (patch)
tree3eabf1b24246739238c7e56330b291767ba79ef5
parent6eeb9255450020cb90abf2d4e7de6c31a646e609 (diff)
bgpd: Print prefix in logs messages with BGP_PATH_ANNC_NH_SELF
Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
-rw-r--r--bgpd/bgp_route.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bgpd/bgp_route.c b/bgpd/bgp_route.c
index 6eb1a556b1..4997468ce2 100644
--- a/bgpd/bgp_route.c
+++ b/bgpd/bgp_route.c
@@ -2583,8 +2583,8 @@ bool subgroup_announce_check(struct bgp_dest *dest, struct bgp_path_info *pi,
if (bgp_debug_update(NULL, p, subgrp->update_group, 0))
zlog_debug(
- "%s: BGP_PATH_ANNC_NH_SELF, family=%s",
- __func__, family2str(family));
+ "%s: %pFX BGP_PATH_ANNC_NH_SELF, family=%s",
+ __func__, p, family2str(family));
subgroup_announce_reset_nhop(family, attr);
nh_reset = true;
}