Protocol tracing: Don't dump core on filtered out routes.
This commit is contained in:
parent
856b87d1e4
commit
349e21bb0b
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue