mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2024-12-22 09:41:54 +00:00
Protocol tracing: Don't dump core on filtered out routes.
This commit is contained in:
parent
856b87d1e4
commit
349e21bb0b
@ -165,7 +165,7 @@ do_rte_announce(struct announce_hook *a, net *net, rte *new, rte *old, ea_list *
|
||||
rte_trace_out(D_ROUTES, p, new, "replaced");
|
||||
else if (new)
|
||||
rte_trace_out(D_ROUTES, p, new, "added");
|
||||
else
|
||||
else if (old)
|
||||
rte_trace_out(D_ROUTES, p, old, "removed");
|
||||
}
|
||||
if (new || old)
|
||||
|
Loading…
Reference in New Issue
Block a user