Fix refresh for missing POSTROUTING mangle chain

git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@3884 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
teastep 2006-05-06 18:55:25 +00:00
parent 09c8e32c4a
commit 25d1ce7e6d

View File

@ -1775,10 +1775,13 @@ refresh_tc() {
# Flush the TC mangle chains
#
[ -n "$MANGLE_FORWARD" ] && run_iptables -t mangle -F tcfor
if [ -n "$MANGLE_FORWARD" ]; then
run_iptables -t mangle -F tcfor
run_iptables -t mangle -F tcpost
fi
run_iptables -t mangle -F tcpre
run_iptables -t mangle -F tcout
run_iptables -t mangle -F tcpost
#
# Remove all exclusion chains from the mangle table
#