]> git.ipfire.org Git - thirdparty/bird.git/commitdiff
Previous fix was wrong.
authorMartin Mares <mj@ucw.cz>
Mon, 26 Oct 1998 15:24:32 +0000 (15:24 +0000)
committerMartin Mares <mj@ucw.cz>
Mon, 26 Oct 1998 15:24:32 +0000 (15:24 +0000)
nest/rt-table.c

index b80365dfd6b9654638e8ed61d6909e93b4370b56..1eb3395b2274bd68c94970acc332e67b7cd7eb8b 100644 (file)
@@ -186,7 +186,7 @@ rte_update(net *net, struct proto *p, rte *new)
                      *k = r->next;
                      break;
                    }
-                 k = &r->next;
+                 k = &s->next;
                }
              r->next = net->routes;
              net->routes = r;