mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-10 16:42:44 +00:00
zebra: Fix up cherry-pick mistake
I forgot to include the if (IS_ZEBRA_DEBUG_EVENT) test
This commit is contained in:
parent
169d94f7aa
commit
c85d435bd7
@ -145,9 +145,10 @@ zebra_redistribute (struct zserv *client, int type, u_short instance, vrf_id_t v
|
||||
for (rn = route_top (table); rn; rn = route_next (rn))
|
||||
RNODE_FOREACH_RIB (rn, newrib)
|
||||
{
|
||||
zlog_debug("%s: checking: selected=%d, type=%d, distance=%d, zebra_check_addr=%d",
|
||||
__func__, CHECK_FLAG (newrib->flags, ZEBRA_FLAG_SELECTED),
|
||||
newrib->type, newrib->distance, zebra_check_addr (&rn->p));
|
||||
if (IS_ZEBRA_DEBUG_EVENT)
|
||||
zlog_debug("%s: checking: selected=%d, type=%d, distance=%d, zebra_check_addr=%d",
|
||||
__func__, CHECK_FLAG (newrib->flags, ZEBRA_FLAG_SELECTED),
|
||||
newrib->type, newrib->distance, zebra_check_addr (&rn->p));
|
||||
|
||||
if (CHECK_FLAG (newrib->flags, ZEBRA_FLAG_SELECTED)
|
||||
&& newrib->type == type
|
||||
|
Loading…
Reference in New Issue
Block a user