mirror of
https://gitlab.com/shorewall/code.git
synced 2024-12-20 05:11:03 +01:00
Omit the chain designator from an error message
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
1c535ee0f9
commit
0e3ad6ff91
@ -276,7 +276,7 @@ sub process_tc_rule( ) {
|
|||||||
|
|
||||||
if ( $config{TC_ENABLED} eq 'Internal' || $config{TC_ENABLED} eq 'Shared' ) {
|
if ( $config{TC_ENABLED} eq 'Internal' || $config{TC_ENABLED} eq 'Shared' ) {
|
||||||
$originalmark = join( ':', normalize_hex( $mark ), normalize_hex( $designator ) );
|
$originalmark = join( ':', normalize_hex( $mark ), normalize_hex( $designator ) );
|
||||||
fatal_error "Unknown Class ($originalmark)}" unless ( $device = $classids{$mark} );
|
fatal_error "Unknown Class ($mark)}" unless ( $device = $classids{$mark} );
|
||||||
fatal_error "IFB Classes may not be specified in tcrules" if @{$tcdevices{$device}{redirected}};
|
fatal_error "IFB Classes may not be specified in tcrules" if @{$tcdevices{$device}{redirected}};
|
||||||
|
|
||||||
unless ( $tcclasses{$device}{hex_value $designator}{leaf} ) {
|
unless ( $tcclasses{$device}{hex_value $designator}{leaf} ) {
|
||||||
|
Loading…
Reference in New Issue
Block a user