diff --git a/nest/rt-table.c b/nest/rt-table.c index b80365df..1eb3395b 100644 --- a/nest/rt-table.c +++ b/nest/rt-table.c @@ -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;