Eliminate superfluous test

Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
Tom Eastep 2016-10-24 11:57:56 -07:00
parent fc0ad7cd2e
commit 3b6b89336e
No known key found for this signature in database
GPG Key ID: 96E6B3F2423A4D10

View File

@ -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,