mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-04-29 02:37:00 +00:00
Merge pull request #13660 from anlancs/bgpd-cleanup-12
bgpd: Fix typo in debug message
This commit is contained in:
commit
e4bdeb6aca
@ -547,7 +547,7 @@ static void bgp_process_nexthop_update(struct bgp_nexthop_cache *bnc,
|
|||||||
char bnc_buf[BNC_FLAG_DUMP_SIZE];
|
char bnc_buf[BNC_FLAG_DUMP_SIZE];
|
||||||
|
|
||||||
zlog_debug(
|
zlog_debug(
|
||||||
"%s(%u): Rcvd NH update %pFX(%u)%u) - metric %d/%d #nhops %d/%d flags %s",
|
"%s(%u): Rcvd NH update %pFX(%u)(%u) - metric %d/%d #nhops %d/%d flags %s",
|
||||||
bnc->bgp->name_pretty, bnc->bgp->vrf_id, &nhr->prefix,
|
bnc->bgp->name_pretty, bnc->bgp->vrf_id, &nhr->prefix,
|
||||||
bnc->ifindex, bnc->srte_color, nhr->metric, bnc->metric,
|
bnc->ifindex, bnc->srte_color, nhr->metric, bnc->metric,
|
||||||
nhr->nexthop_num, bnc->nexthop_num,
|
nhr->nexthop_num, bnc->nexthop_num,
|
||||||
@ -849,7 +849,7 @@ void bgp_parse_nexthop_update(int command, vrf_id_t vrf_id)
|
|||||||
if (!bnc_nhc) {
|
if (!bnc_nhc) {
|
||||||
if (BGP_DEBUG(nht, NHT))
|
if (BGP_DEBUG(nht, NHT))
|
||||||
zlog_debug(
|
zlog_debug(
|
||||||
"parse nexthop update(%pFX(%u)(%s)): bnc info not found for nexthop cache",
|
"parse nexthop update %pFX(%u)(%s): bnc info not found for nexthop cache",
|
||||||
&nhr.prefix, nhr.srte_color, bgp->name_pretty);
|
&nhr.prefix, nhr.srte_color, bgp->name_pretty);
|
||||||
} else
|
} else
|
||||||
bgp_process_nexthop_update(bnc_nhc, &nhr, false);
|
bgp_process_nexthop_update(bnc_nhc, &nhr, false);
|
||||||
@ -860,7 +860,7 @@ void bgp_parse_nexthop_update(int command, vrf_id_t vrf_id)
|
|||||||
if (!bnc_import) {
|
if (!bnc_import) {
|
||||||
if (BGP_DEBUG(nht, NHT))
|
if (BGP_DEBUG(nht, NHT))
|
||||||
zlog_debug(
|
zlog_debug(
|
||||||
"parse nexthop update(%pFX(%u)(%s)): bnc info not found for import check",
|
"parse nexthop update %pFX(%u)(%s): bnc info not found for import check",
|
||||||
&nhr.prefix, nhr.srte_color, bgp->name_pretty);
|
&nhr.prefix, nhr.srte_color, bgp->name_pretty);
|
||||||
} else
|
} else
|
||||||
bgp_process_nexthop_update(bnc_import, &nhr, true);
|
bgp_process_nexthop_update(bnc_import, &nhr, true);
|
||||||
|
Loading…
Reference in New Issue
Block a user