From b8deb12b009a23314404c7f5abce1f41b00d86cf Mon Sep 17 00:00:00 2001 From: teastep Date: Sun, 14 Dec 2008 18:58:31 +0000 Subject: [PATCH] Fix IP6TABLES when not specified in shorewall6.conf git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@9051 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb --- Shorewall-perl/Shorewall/Compiler.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Shorewall-perl/Shorewall/Compiler.pm b/Shorewall-perl/Shorewall/Compiler.pm index ec054ded7..db3cf47d0 100644 --- a/Shorewall-perl/Shorewall/Compiler.pm +++ b/Shorewall-perl/Shorewall/Compiler.pm @@ -206,7 +206,7 @@ sub generate_script_1() { '[ -x "$IP6TABLES" ] || startup_error "IP6TABLES=$IP6TABLES does not exist or is not executable"', ); } else { - emit( '[ -z "$IP6TABLES" ] && IP6TABLES=$(mywhich iptables) # /sbin/shorewall6 exports IP6TABLES', + emit( '[ -z "$IP6TABLES" ] && IP6TABLES=$(mywhich ip6tables) # /sbin/shorewall6 exports IP6TABLES', '[ -n "$IP6TABLES" -a -x "$IP6TABLES" ] || startup_error "Can\'t find ip6tables executable"' ); }