Merge branch '4.4.27'

Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
Tom Eastep 2011-12-30 07:28:14 -08:00
commit 6bed5e5e55

View File

@ -242,8 +242,9 @@ sub process_tc_rule( ) {
} }
$source = ''; $source = '';
} else { } elsif ( $source =~ s/^($fw):// ) {
$chain = 'tcout' if $source =~ s/^($fw)://; fatal_error ":F is not allowed when the SOURCE is the firewall" if $chain eq 'tcfor';
$chain = 'tcout';
} }
} }
@ -252,8 +253,9 @@ sub process_tc_rule( ) {
fatal_error 'A CLASSIFY rule may not have $FW as the DEST' if $classid; fatal_error 'A CLASSIFY rule may not have $FW as the DEST' if $classid;
$chain = 'tcin'; $chain = 'tcin';
$dest = ''; $dest = '';
} else { } elsif ( $dest =~ s/^($fw):// ) {
$chain = 'tcin' if $dest =~ s/^($fw)://; fatal_error 'A CLASSIFY rule may not have $FW as the DEST' if $classid;
$chain = 'tcin';
} }
} }