summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--nest/rt-table.c2
1 files changed, 1 insertions, 1 deletions
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;