summaryrefslogtreecommitdiff
path: root/nest/rt-table.c
diff options
context:
space:
mode:
authorMartin Mares <mj@ucw.cz>1998-12-20 14:01:37 +0000
committerMartin Mares <mj@ucw.cz>1998-12-20 14:01:37 +0000
commite440395d7d3c503692321e2f6ec4e42bf758acb1 (patch)
tree2dca49c6547e8f4b0c1aac2530616aa7224aa9e4 /nest/rt-table.c
parent3ab001b97402bc01a4777cf1cb60ce940d50ffe3 (diff)
When printing a routing table, fib_check() it.
Diffstat (limited to 'nest/rt-table.c')
-rw-r--r--nest/rt-table.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/nest/rt-table.c b/nest/rt-table.c
index 386738c9..b35297bb 100644
--- a/nest/rt-table.c
+++ b/nest/rt-table.c
@@ -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;