From: Donatas Abraitis Date: Sun, 8 Dec 2024 19:48:14 +0000 (+0200) Subject: bgpd: Print the actual prefix when we try to import in vpn_leak_to_vrf_update X-Git-Tag: base_10.3~167^2 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=refs%2Fpull%2F17608%2Fhead;p=mirror%2Ffrr.git bgpd: Print the actual prefix when we try to import in vpn_leak_to_vrf_update Signed-off-by: Donatas Abraitis --- diff --git a/bgpd/bgp_mplsvpn.c b/bgpd/bgp_mplsvpn.c index 69248d961d..ecb78c1ce4 100644 --- a/bgpd/bgp_mplsvpn.c +++ b/bgpd/bgp_mplsvpn.c @@ -2517,11 +2517,12 @@ void vpn_leak_to_vrf_update(struct bgp *from_bgp, { struct listnode *mnode, *mnnode; struct bgp *bgp; + const struct prefix *p = bgp_dest_get_prefix(path_vpn->net); int debug = BGP_DEBUG(vpn, VPN_LEAK_TO_VRF); if (debug) - zlog_debug("%s: start (path_vpn=%p)", __func__, path_vpn); + zlog_debug("%s: start (path_vpn=%p, prefix=%pFX)", __func__, path_vpn, p); /* Loop over VRFs */ for (ALL_LIST_ELEMENTS(bm->bgp, mnode, mnnode, bgp)) {