diff options
author | Louis Scalbert <louis.scalbert@6wind.com> | 2022-04-27 17:52:38 +0200 |
---|---|---|
committer | Louis Scalbert <louis.scalbert@6wind.com> | 2022-07-08 11:40:22 +0200 |
commit | 1dc6c5991cc1fc6b750dd61bd043f2e4e7dac628 (patch) | |
tree | 7b7356b03f70dca54d997ff87c6e01caff91a3bc /bgpd/bgp_mplsvpn.c | |
parent | bgpd: fix setting BGP_PATH_VALID flag in leak_update (diff) | |
download | frr-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.c | 5 |
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; } |