summaryrefslogtreecommitdiffstats
path: root/nest/rt-table.c
diff options
context:
space:
mode:
authorMartin Mares <mj@ucw.cz>1998-10-26 16:24:32 +0100
committerMartin Mares <mj@ucw.cz>1998-10-26 16:24:32 +0100
commitdafd580ed94f38c95a84d8d00d3a57c7c194d6db (patch)
tree70b03fba584d72357c9951184f3aa5eacc240151 /nest/rt-table.c
parentdb6984c43c47bfb549394f6571f024df301b19ee (diff)
downloadbird-dafd580ed94f38c95a84d8d00d3a57c7c194d6db.tar
bird-dafd580ed94f38c95a84d8d00d3a57c7c194d6db.zip
Previous fix was wrong.
Diffstat (limited to 'nest/rt-table.c')
-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 b80365d..1eb3395 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;