When printing a routing table, fib_check() it.

This commit is contained in:
Martin Mares 1998-12-20 14:01:37 +00:00
parent 3ab001b974
commit e440395d7d

View file

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