mirror of
https://gitlab.com/shorewall/code.git
synced 2024-11-25 17:13:11 +01:00
Don't apply HTB quantum to HFSC
This commit is contained in:
parent
d8ebdc015d
commit
d107e15623
@ -1552,7 +1552,11 @@ sub setup_traffic_shaping() {
|
|||||||
|
|
||||||
if ( $tcref->{leaf} && ! $tcref->{pfifo} ) {
|
if ( $tcref->{leaf} && ! $tcref->{pfifo} ) {
|
||||||
$sfqinhex = in_hexp( ++$sfq);
|
$sfqinhex = in_hexp( ++$sfq);
|
||||||
|
if ( $devref->{qdisc} eq 'htb' ) {
|
||||||
emit( "run_tc qdisc add dev $device parent $classid handle $sfqinhex: sfq quantum \$quantum limit $tcref->{limit} perturb 10" );
|
emit( "run_tc qdisc add dev $device parent $classid handle $sfqinhex: sfq quantum \$quantum limit $tcref->{limit} perturb 10" );
|
||||||
|
} else {
|
||||||
|
emit( "run_tc qdisc add dev $device parent $classid handle $sfqinhex: sfq limit $tcref->{limit} perturb 10" );
|
||||||
|
}
|
||||||
}
|
}
|
||||||
#
|
#
|
||||||
# add filters
|
# add filters
|
||||||
|
Loading…
Reference in New Issue
Block a user