- don't need -DNDEBUG anymore. Instead, use -DIPTC_DEBUG to enable
libiptc debugging. This is to make people at RedHat and Mandrake
happy.
- add debugging code for mangle5hooks table (will break debugging
of iptables >= 1.2.6 on old kernels <= 2.4.18-pre6. *sigh*
diff --git a/libiptc/libiptc.c b/libiptc/libiptc.c
index 3574ac8..395b8c7 100644
--- a/libiptc/libiptc.c
+++ b/libiptc/libiptc.c
@@ -1,4 +1,4 @@
-/* Library which manipulates firewall rules. Version $Revision: 1.32 $ */
+/* Library which manipulates firewall rules. Version $Revision: 1.33 $ */
/* Architecture of firewall rules is as follows:
*
@@ -104,7 +104,7 @@
h->changed = 1;
}
-#ifndef NDEBUG
+#ifdef IPTC_DEBUG
static void do_check(TC_HANDLE_T h, unsigned int line);
#define CHECK(h) do { if (!getenv("IPTC_NO_CHECK")) do_check((h), __LINE__); } while(0)
#else