diff options
author | Martin Mares <mj@ucw.cz> | 1998-12-20 15:01:37 +0100 |
---|---|---|
committer | Martin Mares <mj@ucw.cz> | 1998-12-20 15:01:37 +0100 |
commit | e440395d7d3c503692321e2f6ec4e42bf758acb1 (patch) | |
tree | 2dca49c6547e8f4b0c1aac2530616aa7224aa9e4 | |
parent | 3ab001b97402bc01a4777cf1cb60ce940d50ffe3 (diff) | |
download | bird-e440395d7d3c503692321e2f6ec4e42bf758acb1.tar bird-e440395d7d3c503692321e2f6ec4e42bf758acb1.zip |
When printing a routing table, fib_check() it.
-rw-r--r-- | nest/rt-table.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/nest/rt-table.c b/nest/rt-table.c index 386738c..b35297b 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; |