mirror of
https://gitlab.com/shorewall/code.git
synced 2024-11-22 07:33:43 +01:00
Eliminate superfluous test
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
fc0ad7cd2e
commit
3b6b89336e
@ -4847,7 +4847,7 @@ sub process_mangle_rule1( $$$$$$$$$$$$$$$$$$ ) {
|
|||||||
$chainref = ensure_chain( 'mangle', $chainnames{$chain} );
|
$chainref = ensure_chain( 'mangle', $chainnames{$chain} );
|
||||||
}
|
}
|
||||||
|
|
||||||
$restriction |= $chainref->{restriction} if defined $chainref->{restriction};
|
$restriction |= $chainref->{restriction};
|
||||||
|
|
||||||
if ( ( my $result = expand_rule( $chainref ,
|
if ( ( my $result = expand_rule( $chainref ,
|
||||||
$restriction,
|
$restriction,
|
||||||
|
Loading…
Reference in New Issue
Block a user