flushing and deleting chains when shut corrected

git-svn-id: svn://svn.compuextreme.de/Viitor/V962/Viitor_iptables@5948 504e572c-2e33-0410-9681-be2bf7408885
This commit is contained in:
segler 2011-01-25 19:31:33 +00:00
parent 42b9518200
commit 0078819fec

View File

@ -389,8 +389,12 @@ if [ -f "$CFGFILE" ]; then
evaluate_retval
;;
stop)
for i in filter nat mangle raw; do
$DEBUG $IPTABLES -t $i -F
$DEBUG $IPTABLES -t $i -X
done
for i in INPUT FORWARD OUTPUT; do
$DEBUG $IPTABLES -F $i
$DEBUG $IPTABLES -P $i ACCEPT
done
if [ "$ACCOUNTING" == "yes" ]; then