Remove ersatz optimizaiton

git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@4825 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
teastep 2006-11-09 21:31:35 +00:00
parent c0103c9400
commit b7ca739d63

View File

@ -1841,7 +1841,6 @@ add_a_rule() {
if [ -n "$natrule" ]; then
lib_load nat "$logtarget Rules"
add_nat_rule
[ $policy = ACCEPT ] && return
elif [ -n "$servport" -a "$servport" != "$port" ]; then
fatal_error "Only DNAT, SAME and REDIRECT rules may specify destination port mapping; rule \"$rule\""
fi
@ -2528,7 +2527,7 @@ process_rules()
do_it() # $1 = "Yes" if the target is a macro.
{
expandv xprotocol xports xcports xaddress xratelimit xuserspec intrazone=
expandv xprotocol xports xcports xaddress xratelimit xuserspec
if [ -z "$SECTIONS" ]; then
finish_section ESTABLISHED,RELATED