From 860ee6de2734dafbb3de57c85d044e816cc05241 Mon Sep 17 00:00:00 2001 From: Tom Eastep Date: Tue, 6 Nov 2012 07:36:36 -0800 Subject: [PATCH] Eliminate nonsensical warning message. Signed-off-by: Tom Eastep --- Shorewall/Perl/Shorewall/Tc.pm | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/Shorewall/Perl/Shorewall/Tc.pm b/Shorewall/Perl/Shorewall/Tc.pm index c3136d672..0b8f8cb21 100644 --- a/Shorewall/Perl/Shorewall/Tc.pm +++ b/Shorewall/Perl/Shorewall/Tc.pm @@ -1447,10 +1447,7 @@ sub validate_tc_class( ) { } unless ( $devref->{classify} || $occurs > 1 ) { - if ( $mark ne '-' ) { - fatal_error "Missing MARK" if $mark eq '-'; - warning_message "Class NUMBER ignored -- INTERFACE $device does not have the 'classify' option" if $devclass =~ /:/; - } + fatal_error "Missing MARK" if $mark eq '-'; } $tcref->{flow} = $devref->{flow} unless $tcref->{flow};