summaryrefslogtreecommitdiffstats
path: root/nest
diff options
context:
space:
mode:
authorMartin Mares <mj@ucw.cz>2000-03-19 22:59:24 +0100
committerMartin Mares <mj@ucw.cz>2000-03-19 22:59:24 +0100
commit349e21bb0bb7584fb18c19859d876893c3130947 (patch)
tree815c8a00cd7bbe213e1a203fbce7014298b4f125 /nest
parent856b87d1e4c44608df5debd8e4246a3c4026bbcb (diff)
downloadbird-349e21bb0bb7584fb18c19859d876893c3130947.tar
bird-349e21bb0bb7584fb18c19859d876893c3130947.zip
Protocol tracing: Don't dump core on filtered out routes.
Diffstat (limited to 'nest')
-rw-r--r--nest/rt-table.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nest/rt-table.c b/nest/rt-table.c
index b959770..d3fcf64 100644
--- a/nest/rt-table.c
+++ b/nest/rt-table.c
@@ -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)