0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2024-12-21 09:11:54 +00:00

Fixed a very nasty bug in FIB iterators.

This commit is contained in:
Martin Mares 2000-05-19 19:40:12 +00:00
parent d2a7c0e9b2
commit 0ba8a6147d
2 changed files with 1 additions and 3 deletions

2
TODO
View File

@ -4,8 +4,6 @@ Core
- client: paging?
- client: data losses on large dumps?
- table: ocassional core dumps in rt_prune()
Documentation
~~~~~~~~~~~~~
- write doctool

View File

@ -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;
};