small fixes

master
Robert "ar" Gerus 2013-03-23 06:32:56 +01:00
parent 05ae772e99
commit e833daec81
1 changed files with 4 additions and 1 deletions

5
fw.sh
View File

@ -37,7 +37,7 @@ fw_test() {
}
fw_flush() {
# raw security
# We don't use (yet?) these tables: raw, security
for table in filter nat mangle; do
iptables --table ${table} --flush
done
@ -52,6 +52,9 @@ case ${1} in
apply)
fw_apply
;;
flush)
fw_flush
;;
restore)
fw_restore
;;