]> git.ipfire.org Git - thirdparty/bird.git/commitdiff
When printing a routing table, fib_check() it.
authorMartin Mares <mj@ucw.cz>
Sun, 20 Dec 1998 14:01:37 +0000 (14:01 +0000)
committerMartin Mares <mj@ucw.cz>
Sun, 20 Dec 1998 14:01:37 +0000 (14:01 +0000)
nest/rt-table.c

index 386738c9aa0c8a8d942013c480501ee74da41cb9..b35297bb244d96be9391adfb83d95aa45a48eb9b 100644 (file)
@@ -254,6 +254,9 @@ rt_dump(rtable *t)
   while (t)
     {
       debug("Routes for TOS %02x:\n", t->tos);
+#ifdef DEBUGGING
+      fib_check(&t->fib);
+#endif
       FIB_WALK(&t->fib, fn)
        {
          n = (net *) fn;