summaryrefslogtreecommitdiffstats
path: root/sysdep
diff options
context:
space:
mode:
Diffstat (limited to 'sysdep')
-rw-r--r--sysdep/linux/netlink/netlink.c2
-rw-r--r--sysdep/unix/main.c7
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");