From 9a220cabbc28a4e54f814aa5d596696a15e6544d Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Thu, 4 May 2000 20:52:28 +0000 Subject: #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. --- sysdep/linux/netlink/netlink.c | 2 +- sysdep/unix/main.c | 7 ++++--- 2 files changed, 5 insertions(+), 4 deletions(-) (limited to 'sysdep') 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 #include -#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 #include @@ -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"); -- cgit v1.2.3