Previous fix was wrong.

This commit is contained in:
Martin Mares 1998-10-26 15:24:32 +00:00
parent db6984c43c
commit dafd580ed9

View file

@ -186,7 +186,7 @@ rte_update(net *net, struct proto *p, rte *new)
*k = r->next; *k = r->next;
break; break;
} }
k = &r->next; k = &s->next;
} }
r->next = net->routes; r->next = net->routes;
net->routes = r; net->routes = r;