From 70c99a336d9648ed5a24f499cf5ce7faf113bc4a Mon Sep 17 00:00:00 2001 From: teastep Date: Tue, 31 Jul 2007 21:41:00 +0000 Subject: [PATCH] Make state match detection quiet git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@7013 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb --- Shorewall-perl/Shorewall/Compiler.pm | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Shorewall-perl/Shorewall/Compiler.pm b/Shorewall-perl/Shorewall/Compiler.pm index c73bb7f8b..3d6913d82 100644 --- a/Shorewall-perl/Shorewall/Compiler.pm +++ b/Shorewall-perl/Shorewall/Compiler.pm @@ -170,11 +170,11 @@ sub generate_script_1() { '#', '# Recent kernels are difficult to configure -- we see state match omitted a lot so we check for it here', '#', - '$IPTABLES -N foox1234', - '$IPTABLES -A foox1234 -m state --state ESTABLISHED,RELATED -j ACCEPT', + 'qt $IPTABLES -N foox1234', + 'qt $IPTABLES -A foox1234 -m state --state ESTABLISHED,RELATED -j ACCEPT', 'result=$?', - '$IPTABLES -F foox1234', - '$IPTABLES -X foox1234', + 'qt $IPTABLES -F foox1234', + 'qt $IPTABLES -X foox1234', '[ $result = 0 ] || startup_error "Your kernel/iptables do not include state match support. No version of Shorewall will run on this system"', '' );