diff options
author | Harald Welte <laforge@gnumonks.org> | 2002-02-13 16:19:55 +0000 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2002-02-13 16:19:55 +0000 |
commit | 380ba5f3074a16fbaa8869d9594962d58b5f8608 (patch) | |
tree | 7926ece3e04f0a80c9e165581e304e1549339c81 /libiptc/libiptc.c | |
parent | 72c6b79b9944e4784ca21779413db71d773d7f10 (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 3574ac8d..395b8c74 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 |