forked from extern/shorewall_code
Correct handling of dst/src list in ipset invocation
This commit is contained in:
parent
99f8f84024
commit
8dd42c9e19
@ -2494,7 +2494,7 @@ sub get_set_flags( $$ ) {
|
||||
$setname = $1;
|
||||
my $count = $2;
|
||||
$options .= ",$option" while --$count > 0;
|
||||
} elsif ( $setname =~ /^(.*)\[(src|dst)(,(src|dst))*\]$/ ) {
|
||||
} elsif ( $setname =~ /^(.*)\[((src|dst)(,(src|dst))*)\]$/ ) {
|
||||
$setname = $1;
|
||||
$options = $2;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user