From 2cce81cfc19dbc62dfad5d251ab355992ee9c4c6 Mon Sep 17 00:00:00 2001 From: Tom Eastep Date: Mon, 9 Jul 2012 10:58:15 -0700 Subject: [PATCH] Revert 83a8c7eda35ece602d1e36eca9b48713f33afd14 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 c2af68a9c..095be3fd4 100644 --- a/Shorewall/Perl/Shorewall/Tc.pm +++ b/Shorewall/Perl/Shorewall/Tc.pm @@ -2160,7 +2160,7 @@ sub setup_tc() { setup_traffic_shaping if @tcdevices && $config{TC_ENABLED} ne 'Shared'; } - if ( $config{TC_ENABLED} || have_providers ) { + if ( $config{MANGLE_ENABLED} ) { our @tccmd = ( { match => sub ( $ ) { $_[0] eq 'SAVE' } , target => 'CONNMARK --save-mark --mask' , mark => $config{TC_EXPERT} ? HIGHMARK : SMALLMARK, @@ -2254,9 +2254,6 @@ sub setup_tc() { clear_comment; } - } - - if ( $config{MANGLE_ENABLED} ) { if ( my $fn = open_file 'secmarks' ) {