When printing a routing table, fib_check() it.
This commit is contained in:
parent
3ab001b974
commit
e440395d7d
1 changed files with 3 additions and 0 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue