From 0e3ad6ff91cd839844083eda66b6d5a7d0933e04 Mon Sep 17 00:00:00 2001 From: Tom Eastep Date: Fri, 23 Dec 2011 07:51:12 -0800 Subject: [PATCH] Omit the chain designator from an error message Signed-off-by: Tom Eastep --- Shorewall/Perl/Shorewall/Tc.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Shorewall/Perl/Shorewall/Tc.pm b/Shorewall/Perl/Shorewall/Tc.pm index 05dffdae2..f36e703eb 100644 --- a/Shorewall/Perl/Shorewall/Tc.pm +++ b/Shorewall/Perl/Shorewall/Tc.pm @@ -276,7 +276,7 @@ sub process_tc_rule( ) { if ( $config{TC_ENABLED} eq 'Internal' || $config{TC_ENABLED} eq 'Shared' ) { $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}}; unless ( $tcclasses{$device}{hex_value $designator}{leaf} ) {