mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2025-01-06 17:11:54 +00:00
Table: Adding route refresh begin and end debug messages
This commit is contained in:
parent
8f5511dafb
commit
3b48dc9bce
@ -1748,6 +1748,9 @@ rt_examine(rtable *t, net_addr *a, struct channel *c, const struct filter *filte
|
|||||||
void
|
void
|
||||||
rt_refresh_begin(rtable *t, struct channel *c)
|
rt_refresh_begin(rtable *t, struct channel *c)
|
||||||
{
|
{
|
||||||
|
if (c->debug & D_EVENTS)
|
||||||
|
log(L_TRACE "%s.%s: Route refresh begin", c->proto->name, c->name);
|
||||||
|
|
||||||
FIB_WALK(&t->fib, net, n)
|
FIB_WALK(&t->fib, net, n)
|
||||||
{
|
{
|
||||||
rte *e;
|
rte *e;
|
||||||
@ -1769,6 +1772,9 @@ rt_refresh_begin(rtable *t, struct channel *c)
|
|||||||
void
|
void
|
||||||
rt_refresh_end(rtable *t, struct channel *c)
|
rt_refresh_end(rtable *t, struct channel *c)
|
||||||
{
|
{
|
||||||
|
if (c->debug & D_EVENTS)
|
||||||
|
log(L_TRACE "%s.%s: Route refresh end", c->proto->name, c->name);
|
||||||
|
|
||||||
int prune = 0;
|
int prune = 0;
|
||||||
|
|
||||||
FIB_WALK(&t->fib, net, n)
|
FIB_WALK(&t->fib, net, n)
|
||||||
|
Loading…
Reference in New Issue
Block a user