0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2025-01-03 07:31:54 +00:00

Protocol tracing: Don't dump core on filtered out routes.

This commit is contained in:
Martin Mares 2000-03-19 21:59:24 +00:00
parent 856b87d1e4
commit 349e21bb0b

View File

@ -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"); rte_trace_out(D_ROUTES, p, new, "replaced");
else if (new) else if (new)
rte_trace_out(D_ROUTES, p, new, "added"); rte_trace_out(D_ROUTES, p, new, "added");
else else if (old)
rte_trace_out(D_ROUTES, p, old, "removed"); rte_trace_out(D_ROUTES, p, old, "removed");
} }
if (new || old) if (new || old)