Commit 6998bb9e authored by Martin Mareš's avatar Martin Mareš
Browse files

Squashed one bug in fib_rehash(). No more routes disappearing as if struct

by a lightning :)
parent 891cec85
/*
* BIRD -- Forwarding Information Base -- Data Structures
*
* (c) 1998 Martin Mares <mj@ucw.cz>
* (c) 1998--2000 Martin Mares <mj@ucw.cz>
*
* Can be freely distributed and used under the terms of the GNU GPL.
*/
......@@ -87,7 +87,7 @@ fib_rehash(struct fib *f, int step)
newn = f->hash_size;
ni = 0;
while (old--)
while (oldn--)
{
x = *h++;
while (e = x)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment