]> git.ipfire.org Git - thirdparty/bird.git/commitdiff
Debug messages.
authorMartin Mares <mj@ucw.cz>
Tue, 26 May 1998 21:43:45 +0000 (21:43 +0000)
committerMartin Mares <mj@ucw.cz>
Tue, 26 May 1998 21:43:45 +0000 (21:43 +0000)
nest/rt-fib.c

index d7350ae91997ba3c68d856b5ae3f8f5f01c16ac5..a6b5d57dfe28dad98defa3e1371a1f44dbbb9181 100644 (file)
@@ -28,7 +28,7 @@ fib_ht_alloc(struct fib *f)
   f->entries_min = f->hash_size HASH_LO_MARK;
   if (f->entries_min < HASH_LO_MIN)
     f->entries_min = 0;
-  DBG("Allocating FIB: %d entries, %d low, %d high", f->hash_size, f->entries_min, f->entries_max);
+  DBG("Allocating FIB: %d entries, %d low, %d high\n", f->hash_size, f->entries_min, f->entries_max);
   f->hash_table = mb_alloc(f->fib_pool, f->hash_size * sizeof(struct fib_node *));
   bzero(f->hash_table, f->hash_size * sizeof(struct fib_node *));
 }
@@ -67,7 +67,7 @@ fib_rehash(struct fib *f, unsigned new)
 
   old = f->hash_size;
   m = h = f->hash_table;
-  DBG("Re-hashing FIB from %d to %d", old, new);
+  DBG("Re-hashing FIB from %d to %d\n", old, new);
   f->hash_size = new;
   fib_ht_alloc(f);
   n = f->hash_table;