diff options
-rw-r--r-- | nest/rt-table.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/nest/rt-table.c b/nest/rt-table.c index 06ee1d3d..b80365df 100644 --- a/nest/rt-table.c +++ b/nest/rt-table.c @@ -186,6 +186,7 @@ rte_update(net *net, struct proto *p, rte *new) *k = r->next; break; } + k = &r->next; } r->next = net->routes; net->routes = r; |