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");
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)