From b7ca739d63761bbccbeb9fe5fb9c480b9690b7fe Mon Sep 17 00:00:00 2001 From: teastep Date: Thu, 9 Nov 2006 21:31:35 +0000 Subject: [PATCH] Remove ersatz optimizaiton git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@4825 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb --- Shorewall/compiler | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Shorewall/compiler b/Shorewall/compiler index d21bedfda..240114050 100755 --- a/Shorewall/compiler +++ b/Shorewall/compiler @@ -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