summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/ipv4.h2
-rw-r--r--nest/rt-fib.c2
-rw-r--r--sysdep/config.h2
3 files changed, 3 insertions, 3 deletions
diff --git a/lib/ipv4.h b/lib/ipv4.h
index 81fa046..c37ea80 100644
--- a/lib/ipv4.h
+++ b/lib/ipv4.h
@@ -13,7 +13,7 @@
#include "lib/bitops.h"
-#ifdef DEBUG
+#ifdef DEBUGGING
/*
* Use the structural representation when you want to make sure
diff --git a/nest/rt-fib.c b/nest/rt-fib.c
index 1522906..3840712 100644
--- a/nest/rt-fib.c
+++ b/nest/rt-fib.c
@@ -105,7 +105,7 @@ fib_get(struct fib *f, ip_addr *a, int len)
e = e->next;
if (e)
return e;
-#ifdef DEBUG
+#ifdef DEBUGGING
if (len < 0 || len > BITS_PER_IP_ADDRESS || !ip_is_prefix(*a,len))
die("fib_get() called for invalid address");
#endif
diff --git a/sysdep/config.h b/sysdep/config.h
index 27b9da3..90ab8bb 100644
--- a/sysdep/config.h
+++ b/sysdep/config.h
@@ -13,7 +13,7 @@
/* Include debugging code */
-#define DEBUG
+#define DEBUGGING
/* Types */