diff options
author | Martin Mares <mj@ucw.cz> | 2000-05-04 22:52:28 +0200 |
---|---|---|
committer | Martin Mares <mj@ucw.cz> | 2000-05-04 22:52:28 +0200 |
commit | 9a220cabbc28a4e54f814aa5d596696a15e6544d (patch) | |
tree | e1cf20c35193f47abf86dd2c7d5bae0ac8107bb6 /sysdep | |
parent | b3acb10632ce9fa492a92ced1e533f0bf5edee21 (diff) | |
download | bird-9a220cabbc28a4e54f814aa5d596696a15e6544d.tar bird-9a220cabbc28a4e54f814aa5d596696a15e6544d.zip |
#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.
Diffstat (limited to 'sysdep')
-rw-r--r-- | sysdep/linux/netlink/netlink.c | 2 | ||||
-rw-r--r-- | sysdep/unix/main.c | 7 |
2 files changed, 5 insertions, 4 deletions
diff --git a/sysdep/linux/netlink/netlink.c b/sysdep/linux/netlink/netlink.c index bafa2e9..3bba858 100644 --- a/sysdep/linux/netlink/netlink.c +++ b/sysdep/linux/netlink/netlink.c @@ -13,7 +13,7 @@ #include <sys/uio.h> #include <errno.h> -#define LOCAL_DEBUG +#undef LOCAL_DEBUG #include "nest/bird.h" #include "nest/route.h" diff --git a/sysdep/unix/main.c b/sysdep/unix/main.c index 06d1d1d..516c4ac 100644 --- a/sysdep/unix/main.c +++ b/sysdep/unix/main.c @@ -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"); |