diff options
author | Phil Sutter <phil@nwl.cc> | 2019-08-23 18:18:33 +0200 |
---|---|---|
committer | Phil Sutter <phil@nwl.cc> | 2019-09-23 13:03:56 +0200 |
commit | b29068b49d32a0a8667409e69de628400593588c (patch) | |
tree | 473cefa8ae12aa7e0b24e558f63d0a7eb52f6c1e /iptables/xshared.h | |
parent | 77d7191ebeed4a84dbe78ea1f5371a81e8132f19 (diff) |
DEBUG: Print to stderr to not disturb iptables-save
This way there's at least a chance to get meaningful results from
testsuite with debugging being turned on.
Signed-off-by: Phil Sutter <phil@nwl.cc>
Acked-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'iptables/xshared.h')
-rw-r--r-- | iptables/xshared.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/iptables/xshared.h b/iptables/xshared.h index fd1f96ba..b08c700e 100644 --- a/iptables/xshared.h +++ b/iptables/xshared.h @@ -11,7 +11,7 @@ #include <linux/netfilter_ipv6/ip6_tables.h> #ifdef DEBUG -#define DEBUGP(x, args...) fprintf(stdout, x, ## args) +#define DEBUGP(x, args...) fprintf(stderr, x, ## args) #else #define DEBUGP(x, args...) #endif |