From b29068b49d32a0a8667409e69de628400593588c Mon Sep 17 00:00:00 2001 From: Phil Sutter Date: Fri, 23 Aug 2019 18:18:33 +0200 Subject: 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 Acked-by: Pablo Neira Ayuso --- iptables/xshared.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'iptables') 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 #ifdef DEBUG -#define DEBUGP(x, args...) fprintf(stdout, x, ## args) +#define DEBUGP(x, args...) fprintf(stderr, x, ## args) #else #define DEBUGP(x, args...) #endif -- cgit v1.2.3