mirror of
https://gitlab.com/shorewall/code.git
synced 2024-12-22 14:20:40 +01:00
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 $optimize = $wildcard ? ( $basictarget =~ /!$/ ? 0 : $config{OPTIMIZE} ) : 0;
|
||||
|
||||
unless ( defined $param ) {
|
||||
( $basictarget, $param ) = ( $1, $2 ) if $action =~ /^(\w+)[(](.*)[)]$/;
|
||||
}
|
||||
|
||||
$param = '' unless defined $param;
|
||||
|
||||
#
|
||||
|
Loading…
Reference in New Issue
Block a user