forked from extern/shorewall_code
Remove superfluous logic from process_rule1
This commit is contained in:
parent
e9d12cfc11
commit
576cd76842
@ -960,10 +960,6 @@ sub process_rule1 ( $$$$$$$$$$$$$ ) {
|
|||||||
my $actionchainref;
|
my $actionchainref;
|
||||||
my $optimize = $wildcard ? ( $basictarget =~ /!$/ ? 0 : $config{OPTIMIZE} ) : 0;
|
my $optimize = $wildcard ? ( $basictarget =~ /!$/ ? 0 : $config{OPTIMIZE} ) : 0;
|
||||||
|
|
||||||
unless ( defined $param ) {
|
|
||||||
( $basictarget, $param ) = ( $1, $2 ) if $action =~ /^(\w+)[(](.*)[)]$/;
|
|
||||||
}
|
|
||||||
|
|
||||||
$param = '' unless defined $param;
|
$param = '' unless defined $param;
|
||||||
|
|
||||||
#
|
#
|
||||||
|
Loading…
Reference in New Issue
Block a user