Fix a bug in compile_stop_shorewall()

git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@5709 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
teastep 2007-03-26 23:42:26 +00:00
parent 49cad74e82
commit bcec7bdc63

View File

@ -327,6 +327,7 @@ EOF
} }
emit <<EOF; emit <<EOF;
for chain in INPUT OUTPUT; do for chain in INPUT OUTPUT; do
setpolicy \$chain DROP setpolicy \$chain DROP
done done
@ -365,9 +366,10 @@ EOF
setpolicy \$chain DROP setpolicy \$chain DROP
done done
deleteallchains"; deleteallchains
EOF
} else { } else {
emit " emit <<EOF;
for chain in INPUT FORWARD; do for chain in INPUT FORWARD; do
setpolicy \$chain DROP setpolicy \$chain DROP
done done