]> git.ipfire.org Git - thirdparty/bird.git/commitdiff
Protocol tracing: Don't dump core on filtered out routes.
authorMartin Mares <mj@ucw.cz>
Sun, 19 Mar 2000 21:59:24 +0000 (21:59 +0000)
committerMartin Mares <mj@ucw.cz>
Sun, 19 Mar 2000 21:59:24 +0000 (21:59 +0000)
nest/rt-table.c

index b959770f339a1da470d82a18e78c5d5d0029e204..d3fcf64af12ebf855afa69e57b1f318306299e6b 100644 (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)