summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Mares <mj@ucw.cz>2000-05-19 19:40:12 +0000
committerMartin Mares <mj@ucw.cz>2000-05-19 19:40:12 +0000
commit0ba8a6147d2a6ca4611c9e87e6b9d640d94966b4 (patch)
tree358e1faf5a8481c5074e3a0a20021ceba69bc580
parentd2a7c0e9b2b51287cca6bf9f9ef513cbe29d4dbd (diff)
Fixed a very nasty bug in FIB iterators.
-rw-r--r--TODO2
-rw-r--r--nest/route.h2
2 files changed, 1 insertions, 3 deletions
diff --git a/TODO b/TODO
index 6950365d..ec886fab 100644
--- a/TODO
+++ b/TODO
@@ -4,8 +4,6 @@ Core
- client: paging?
- client: data losses on large dumps?
-- table: ocassional core dumps in rt_prune()
-
Documentation
~~~~~~~~~~~~~
- write doctool
diff --git a/nest/route.h b/nest/route.h
index 183e80b5..640cd490 100644
--- a/nest/route.h
+++ b/nest/route.h
@@ -42,9 +42,9 @@ struct fib_node {
struct fib_iterator { /* See lib/slists.h for an explanation */
struct fib_iterator *prev, *next; /* Must be synced with struct fib_node! */
- struct fib_node *node; /* Or NULL if freshly merged */
byte efef; /* 0xff to distinguish between iterator and node */
byte pad[3];
+ struct fib_node *node; /* Or NULL if freshly merged */
unsigned int hash;
};