diff --git a/Shorewall/Perl/Shorewall/Tc.pm b/Shorewall/Perl/Shorewall/Tc.pm index a46b450ca..b4250e012 100644 --- a/Shorewall/Perl/Shorewall/Tc.pm +++ b/Shorewall/Perl/Shorewall/Tc.pm @@ -1959,13 +1959,13 @@ sub setup_tc() { if ( $config{TC_ENABLED} ) { our @tccmd = ( { match => sub ( $ ) { $_[0] eq 'SAVE' } , target => 'CONNMARK --save-mark --mask' , - mark => SMALLMARK , + mark => $config{TC_EXPERT} ? HIGHMARK : SMALLMARK, mask => in_hex( $globals{TC_MASK} ) , connmark => 1 } , { match => sub ( $ ) { $_[0] eq 'RESTORE' }, target => 'CONNMARK --restore-mark --mask' , - mark => SMALLMARK , + mark => $config{TC_EXPERT} ? HIGHMARK : SMALLMARK , mask => in_hex( $globals{TC_MASK} ) , connmark => 1 } ,