include all tables in flush

master
Robert "ar" Gerus 2013-03-11 10:00:33 +01:00
parent a55d841981
commit 029403fd12
1 changed files with 3 additions and 1 deletions

4
fw.sh
View File

@ -36,7 +36,9 @@ fw_test() {
}
fw_flush() {
iptables -F
for table in filter nat mangle raw security; do
iptables --table ${table} --flush
done
}
if [[ $# -gt 1 ]]; then