From 0ba8a6147d2a6ca4611c9e87e6b9d640d94966b4 Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Fri, 19 May 2000 19:40:12 +0000 Subject: Fixed a very nasty bug in FIB iterators. --- TODO | 2 -- nest/route.h | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/TODO b/TODO index 6950365..ec886fa 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 183e80b..640cd49 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; }; -- cgit v1.2.3