diff options
author | laforge <laforge> | 2002-02-13 16:19:55 +0000 |
---|---|---|
committer | laforge <laforge> | 2002-02-13 16:19:55 +0000 |
commit | 7bb1d7f3999c92cb90ea3788d865dbb21d7963e7 (patch) | |
tree | 7926ece3e04f0a80c9e165581e304e1549339c81 /libiptc/libiptc.c | |
parent | 8a3b559ceeb2694c3f40217d2183a33bb2a956e5 (diff) |
- 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*
Diffstat (limited to 'libiptc/libiptc.c')
-rw-r--r-- | libiptc/libiptc.c | 4 |
1 files changed, 2 insertions, 2 deletions
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 @@ set_changed(TC_HANDLE_T h) 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 |