forked from extern/shorewall_code
Correct RE in split_action()
This commit is contained in:
parent
a9a19c4da6
commit
1528cc2094
@ -190,7 +190,7 @@ sub split_action ( $ ) {
|
||||
#
|
||||
# The param may contain one or more ':' characters
|
||||
#
|
||||
if ( $action =~ /^([^(:]+\(.*?\))(:(.*))$/ ) {
|
||||
if ( $action =~ /^([^(:]+\(.*?\))(:(.*))?$/ ) {
|
||||
$target = $1;
|
||||
$action = $2 ? $3 : '';
|
||||
$max = 2;
|
||||
|
Loading…
Reference in New Issue
Block a user