diff options
author | Martin Mares <mj@ucw.cz> | 2000-05-19 21:40:12 +0200 |
---|---|---|
committer | Martin Mares <mj@ucw.cz> | 2000-05-19 21:40:12 +0200 |
commit | 0ba8a6147d2a6ca4611c9e87e6b9d640d94966b4 (patch) | |
tree | 358e1faf5a8481c5074e3a0a20021ceba69bc580 /nest | |
parent | d2a7c0e9b2b51287cca6bf9f9ef513cbe29d4dbd (diff) | |
download | bird-0ba8a6147d2a6ca4611c9e87e6b9d640d94966b4.tar bird-0ba8a6147d2a6ca4611c9e87e6b9d640d94966b4.zip |
Fixed a very nasty bug in FIB iterators.
Diffstat (limited to 'nest')
-rw-r--r-- | nest/route.h | 2 |
1 files changed, 1 insertions, 1 deletions
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; }; |