forked from extern/shorewall_code
Correct handling of ipsets in tcfilters
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
0efc7a4899
commit
3df488e710
@ -1518,7 +1518,7 @@ sub process_tc_filter2( $$$$$$$$$ ) {
|
|||||||
$rule .= ' and' if $have_rule;
|
$rule .= ' and' if $have_rule;
|
||||||
|
|
||||||
if ( $source =~ /^\+/ ) {
|
if ( $source =~ /^\+/ ) {
|
||||||
$rule = join( '', "\\\n ", handle_ematch( $source, 'src' ) );
|
$rule .= join( '', "\\\n ", handle_ematch( $source, 'src' ) );
|
||||||
} else {
|
} else {
|
||||||
my @parts = decompose_net_u32( $source );
|
my @parts = decompose_net_u32( $source );
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user