Fix 'stop' problem

git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@5592 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
teastep 2007-03-20 01:47:14 +00:00
parent e13b9d634e
commit 09eff209ff

View File

@ -311,7 +311,7 @@ stop_firewall() {
if ( @$criticalhosts ) { if ( @$criticalhosts ) {
if ( $config{ADMINISABSENTMINDED} ) { if ( $config{ADMINISABSENTMINDED} ) {
emit ' for chain in INPUT OUTPUT; do'; emit ' for chain in INPUT OUTPUT; do';
emit ' setpolicy \$chain ACCEPT'; emit ' setpolicy $chain ACCEPT';
emit " done\n"; emit " done\n";
emit " setpolicy FORWARD DROP\n"; emit " setpolicy FORWARD DROP\n";