diff options
| author | Donatas Abraitis <donatas@opensourcerouting.org> | 2024-09-05 10:13:43 +0300 |
|---|---|---|
| committer | Donatas Abraitis <donatas@opensourcerouting.org> | 2024-09-05 10:13:43 +0300 |
| commit | 356f92b8c161111f69ab9857f1894b817ee84bb2 (patch) | |
| tree | a5bf373df4ea2f5c2e1941f763cb485a1fb0bb3c /bgpd/bgp_nht.c | |
| parent | 4f185c5c9d0efe8d046aa361868e1e97108de192 (diff) | |
bgpd: Show the resolved prefix in debug when checking next-hop tracking
Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
Diffstat (limited to 'bgpd/bgp_nht.c')
| -rw-r--r-- | bgpd/bgp_nht.c | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/bgpd/bgp_nht.c b/bgpd/bgp_nht.c index 0259da06dd..413fca9503 100644 --- a/bgpd/bgp_nht.c +++ b/bgpd/bgp_nht.c @@ -405,12 +405,11 @@ int bgp_find_or_add_nexthop(struct bgp *bgp_route, struct bgp *bgp_nexthop, peer); } else { if (BGP_DEBUG(nht, NHT)) - zlog_debug( - "Found existing bnc %pFX(%d)(%s) flags 0x%x ifindex %d #paths %d peer %p", - &bnc->prefix, bnc->ifindex_ipv6_ll, - bnc->bgp->name_pretty, bnc->flags, - bnc->ifindex_ipv6_ll, bnc->path_count, - bnc->nht_info); + zlog_debug("Found existing bnc %pFX(%d)(%s) flags 0x%x ifindex %d #paths %d peer %p, resolved prefix %pFX", + &bnc->prefix, bnc->ifindex_ipv6_ll, + bnc->bgp->name_pretty, bnc->flags, + bnc->ifindex_ipv6_ll, bnc->path_count, + bnc->nht_info, &bnc->resolved_prefix); } if (pi && is_route_parent_evpn(pi)) |
