summaryrefslogtreecommitdiffstats
path: root/bgpd/bgp_mplsvpn.c
diff options
context:
space:
mode:
authorLouis Scalbert <louis.scalbert@6wind.com>2022-04-27 17:52:38 +0200
committerLouis Scalbert <louis.scalbert@6wind.com>2022-07-08 11:40:22 +0200
commit1dc6c5991cc1fc6b750dd61bd043f2e4e7dac628 (patch)
tree7b7356b03f70dca54d997ff87c6e01caff91a3bc /bgpd/bgp_mplsvpn.c
parentbgpd: fix setting BGP_PATH_VALID flag in leak_update (diff)
downloadfrr-1dc6c5991cc1fc6b750dd61bd043f2e4e7dac628.tar.xz
frr-1dc6c5991cc1fc6b750dd61bd043f2e4e7dac628.zip
bgpd: show prefix in leak_update_nexthop_valid debug
Add prefix information in a leak_update_nexthop_valid() debug log. Signed-off-by: Louis Scalbert <louis.scalbert@6wind.com>
Diffstat (limited to 'bgpd/bgp_mplsvpn.c')
-rw-r--r--bgpd/bgp_mplsvpn.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/bgpd/bgp_mplsvpn.c b/bgpd/bgp_mplsvpn.c
index f15f96617..81899b63c 100644
--- a/bgpd/bgp_mplsvpn.c
+++ b/bgpd/bgp_mplsvpn.c
@@ -809,8 +809,9 @@ static bool leak_update_nexthop_valid(struct bgp *bgp, struct bgp_dest *bn,
}
if (debug)
- zlog_debug("%s: nexthop is %svalid (in vrf %s)", __func__,
- (nh_valid ? "" : "not "), bgp_nexthop->name_pretty);
+ zlog_debug("%s: %pFX nexthop is %svalid (in vrf %s)", __func__,
+ p, (nh_valid ? "" : "not "),
+ bgp_nexthop->name_pretty);
return nh_valid;
}