bgpd: Print prefix in logs messages with BGP_PATH_ANNC_NH_SELF

Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
This commit is contained in:
Donatas Abraitis 2022-11-18 16:02:46 +02:00
parent 6eeb925545
commit 6cf8a4bf42

View File

@ -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;
}