mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-07-16 20:43:41 +00:00
bgpd: Print the actual prefix when we try to import in vpn_leak_to_vrf_update
Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
This commit is contained in:
parent
222ba5f390
commit
3d89c67889
@ -2517,11 +2517,12 @@ void vpn_leak_to_vrf_update(struct bgp *from_bgp,
|
|||||||
{
|
{
|
||||||
struct listnode *mnode, *mnnode;
|
struct listnode *mnode, *mnnode;
|
||||||
struct bgp *bgp;
|
struct bgp *bgp;
|
||||||
|
const struct prefix *p = bgp_dest_get_prefix(path_vpn->net);
|
||||||
|
|
||||||
int debug = BGP_DEBUG(vpn, VPN_LEAK_TO_VRF);
|
int debug = BGP_DEBUG(vpn, VPN_LEAK_TO_VRF);
|
||||||
|
|
||||||
if (debug)
|
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 */
|
/* Loop over VRFs */
|
||||||
for (ALL_LIST_ELEMENTS(bm->bgp, mnode, mnnode, bgp)) {
|
for (ALL_LIST_ELEMENTS(bm->bgp, mnode, mnnode, bgp)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user