forked from extern/shorewall_code
Fix ipset negation
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@8567 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
0c9fc719b3
commit
9f0d90b946
@ -665,7 +665,7 @@ sub use_input_chain($) {
|
||||
#
|
||||
sub output_chain($)
|
||||
{
|
||||
chain_base_($_[0]) . '_out';
|
||||
chain_base($_[0]) . '_out';
|
||||
}
|
||||
|
||||
#
|
||||
@ -1405,6 +1405,8 @@ sub get_set_flags( $$ ) {
|
||||
my ( $setname, $option ) = @_;
|
||||
my $options = $option;
|
||||
|
||||
$setname =~ s/^!//; # Caller has already taken care of leading !
|
||||
|
||||
if ( $setname =~ /^(.*)\[([1-6])\]$/ ) {
|
||||
$setname = $1;
|
||||
my $count = $2;
|
||||
|
Loading…
Reference in New Issue
Block a user