]> git.ipfire.org Git - thirdparty/bird.git/commitdiff
Fixed silly bug in previous commit.
authorMartin Mares <mj@ucw.cz>
Sat, 6 May 2000 21:31:41 +0000 (21:31 +0000)
committerMartin Mares <mj@ucw.cz>
Sat, 6 May 2000 21:31:41 +0000 (21:31 +0000)
nest/rt-table.c

index 4214d078ad1f0fec85389372105b7baa602d2bce..7883f2eb695fd6639d43561b6fd1157e9be82f71 100644 (file)
@@ -295,7 +295,7 @@ rte_recalculate(rtable *table, net *net, struct proto *p, rte *new, ea_list *tmp
     {
       if (old->attrs->proto == p)
        {
-         if (rte_same(old, new))
+         if (new && rte_same(old, new))
            {
              /* No changes, ignore the new route */
              rte_trace_in(D_ROUTES, p, new, "ignored");