forked from extern/shorewall_code
Correct handling of dst/src list in ipset invocation
This commit is contained in:
parent
c27861a3ec
commit
3964f3f152
@ -2475,7 +2475,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