From 6cf8a4bf428d6830eb506fa10c5854c88ca99be0 Mon Sep 17 00:00:00 2001 From: Donatas Abraitis Date: Fri, 18 Nov 2022 16:02:46 +0200 Subject: [PATCH] bgpd: Print prefix in logs messages with BGP_PATH_ANNC_NH_SELF Signed-off-by: Donatas Abraitis --- bgpd/bgp_route.c | 4 ++-- 1 file 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; } -- 2.39.5