summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--nest/rt-table.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/nest/rt-table.c b/nest/rt-table.c
index 06ee1d3..b80365d 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;