forked from extern/shorewall_code
Don't allow IFB classes in tcrules
This commit is contained in:
parent
a0b00b4bd6
commit
d2407cb7a0
@ -257,6 +257,7 @@ sub process_tc_rule( ) {
|
||||
if ( $config{TC_ENABLED} eq 'Internal' || $config{TC_ENABLED} eq 'Shared' ) {
|
||||
$originalmark =~ s/0x//g;
|
||||
fatal_error "Unknown Class ($originalmark)}" unless ( $device = $classids{$originalmark} );
|
||||
fatal_error "IFB Classes may not be specified in tcrules" if @{$tcdevices{$device}{redirected}};
|
||||
}
|
||||
|
||||
$chain = 'tcpost';
|
||||
|
Loading…
Reference in New Issue
Block a user