From d3cd3ea26cf4c602c5435daccf4150a078b810f3 Mon Sep 17 00:00:00 2001 From: Tom Eastep Date: Mon, 4 May 2009 13:25:21 -0700 Subject: [PATCH] Remove obsolete test --- 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 a0067a89b..68b93d041 100644 --- a/Shorewall/Perl/Shorewall/Tc.pm +++ b/Shorewall/Perl/Shorewall/Tc.pm @@ -664,10 +664,7 @@ sub validate_tc_class( $$$$$$ ) { fatal_error q(Duplicate 'occurs') if $tcref->{occurs} > 1; fatal_error q(The 'occurs' option is not valid with 'default') if $devref->{default} == $classnumber; fatal_error q(The 'occurs' option is not valid with 'tos') if @{$tcref->{tos}}; - - unless ( $devref->{classify} ) { - warning_message "MARK ($mark) is ignored on an occurring class" if $mark ne '-'; - } + warning_message "MARK ($mark) is ignored on an occurring class" if $mark ne '-'; $tcref->{occurs} = $occurs; } else {