forked from extern/shorewall_code
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:
parent
6f15caa222
commit
3c4a854366
@ -1174,7 +1174,7 @@ sub process_rule ( $$$$$$$$$$ ) {
|
|||||||
|
|
||||||
my $action = isolate_basic_target $target;
|
my $action = isolate_basic_target $target;
|
||||||
|
|
||||||
$optimize = 0 if $action =~ /!^/;
|
$optimize = 0 if $action =~ /!$/;
|
||||||
|
|
||||||
if ( $source eq 'all' ) {
|
if ( $source eq 'all' ) {
|
||||||
for my $zone ( @zones ) {
|
for my $zone ( @zones ) {
|
||||||
|
Loading…
Reference in New Issue
Block a user