mirror of
https://gitlab.com/shorewall/code.git
synced 2024-12-24 07:08:53 +01:00
parent
9f4ca3ebc5
commit
2cce81cfc1
@ -2160,7 +2160,7 @@ sub setup_tc() {
|
|||||||
setup_traffic_shaping if @tcdevices && $config{TC_ENABLED} ne 'Shared';
|
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' } ,
|
our @tccmd = ( { match => sub ( $ ) { $_[0] eq 'SAVE' } ,
|
||||||
target => 'CONNMARK --save-mark --mask' ,
|
target => 'CONNMARK --save-mark --mask' ,
|
||||||
mark => $config{TC_EXPERT} ? HIGHMARK : SMALLMARK,
|
mark => $config{TC_EXPERT} ? HIGHMARK : SMALLMARK,
|
||||||
@ -2254,9 +2254,6 @@ sub setup_tc() {
|
|||||||
clear_comment;
|
clear_comment;
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
if ( $config{MANGLE_ENABLED} ) {
|
|
||||||
|
|
||||||
if ( my $fn = open_file 'secmarks' ) {
|
if ( my $fn = open_file 'secmarks' ) {
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user