mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2025-01-03 15:41:54 +00:00
Fixed reporting about exported routes
This commit is contained in:
parent
068b1520d4
commit
4fc6d75e88
@ -727,15 +727,12 @@ do_rt_notify(struct channel *c, const net_addr *net, rte *new, const rte *old)
|
|||||||
if (new)
|
if (new)
|
||||||
bmap_set(&c->export_map, new->id);
|
bmap_set(&c->export_map, new->id);
|
||||||
|
|
||||||
if (p->debug & D_ROUTES)
|
|
||||||
{
|
|
||||||
if (new && old)
|
if (new && old)
|
||||||
channel_rte_trace_out(D_ROUTES, c, new, "replaced");
|
channel_rte_trace_out(D_ROUTES, c, new, "replaced");
|
||||||
else if (new)
|
else if (new)
|
||||||
channel_rte_trace_out(D_ROUTES, c, new, "added");
|
channel_rte_trace_out(D_ROUTES, c, new, "added");
|
||||||
else if (old)
|
else if (old)
|
||||||
channel_rte_trace_out(D_ROUTES, c, old, "removed");
|
channel_rte_trace_out(D_ROUTES, c, old, "removed");
|
||||||
}
|
|
||||||
|
|
||||||
p->rt_notify(p, c, net, new, old);
|
p->rt_notify(p, c, net, new, old);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user