diff options
| author | Donald Sharp <sharpd@cumulusnetwroks.com> | 2016-08-18 10:15:01 -0400 |
|---|---|---|
| committer | Donald Sharp <sharpd@cumulusnetwroks.com> | 2016-08-18 10:15:01 -0400 |
| commit | c85d435bd742c3059f15eb9c219355b3bdbd5fac (patch) | |
| tree | 008244e936d82f75eabd85b1080e096e6464425e /zebra/redistribute.c | |
| parent | 169d94f7aa2d882ed75280a223a6dbf3db0f8126 (diff) | |
zebra: Fix up cherry-pick mistake
I forgot to include the if (IS_ZEBRA_DEBUG_EVENT) test
Diffstat (limited to 'zebra/redistribute.c')
| -rw-r--r-- | zebra/redistribute.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/zebra/redistribute.c b/zebra/redistribute.c index 305fb4bc82..4238d8329e 100644 --- a/zebra/redistribute.c +++ b/zebra/redistribute.c @@ -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 |
