mirror of
https://gitlab.labs.nic.cz/labs/bird.git
synced 2024-05-11 16:54:54 +00:00
Fixed a very nasty bug in FIB iterators.
This commit is contained in:
@@ -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;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user