forked from extern/shorewall_code
Simplify an RE
This commit is contained in:
parent
092f032b8e
commit
1e6b7c8130
@ -2892,7 +2892,7 @@ sub get_params() {
|
||||
fatal_error "Processing of $fn failed" if $?;
|
||||
|
||||
for ( @params ) {
|
||||
if ( /^(?:(.*?)=)(.*)$/ ) {
|
||||
if ( /^(.*?)=(.*)$/ ) {
|
||||
$params{$1} = $2 unless $1 eq '_';
|
||||
} else {
|
||||
assert(0);
|
||||
|
Loading…
Reference in New Issue
Block a user