1
0
mirror of https://gitlab.labs.nic.cz/labs/bird.git synced 2024-05-11 16:54:54 +00:00

#ifdef out lots of debugging information.

The long resource/routing table dump printed upon startup is gone now
and if you wish to see it, just send bird SIGUSR1 or use the `debug'
commands.
This commit is contained in:
Martin Mares
2000-05-04 20:52:28 +00:00
parent b3acb10632
commit 9a220cabbc
6 changed files with 8 additions and 20 deletions

View File

@@ -6,7 +6,7 @@
* Can be freely distributed and used under the terms of the GNU GPL.
*/
#define LOCAL_DEBUG
#undef LOCAL_DEBUG
#include <stdio.h>
#include <stdlib.h>
@@ -410,8 +410,9 @@ main(int argc, char **argv)
cli_init_unix();
ev_run_list(&global_event_list);
async_dump();
#ifdef LOCAL_DEBUG
async_dump_flag = 1;
#endif
DBG("Entering I/O loop.\n");