Fix "!" optimization bypass

git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@6300 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
teastep 2007-05-09 15:24:09 +00:00
parent 6f15caa222
commit 3c4a854366

View File

@ -1174,7 +1174,7 @@ sub process_rule ( $$$$$$$$$$ ) {
my $action = isolate_basic_target $target;
$optimize = 0 if $action =~ /!^/;
$optimize = 0 if $action =~ /!$/;
if ( $source eq 'all' ) {
for my $zone ( @zones ) {