summaryrefslogtreecommitdiff
path: root/scripts/build-command-templates
diff options
context:
space:
mode:
authorViacheslav Hletenko <v.gletenko@vyos.io>2023-06-17 10:55:33 +0000
committerViacheslav Hletenko <v.gletenko@vyos.io>2023-06-17 11:02:27 +0000
commit04bdcbc8c271ef0286518bc8183a0f911beb16d5 (patch)
tree10e506d616b85e26482c87353c782984d05eaf5e /scripts/build-command-templates
parent49e2822e9775c1c38a067bdc2e92ab5fd69eac95 (diff)
downloadvyos-1x-04bdcbc8c271ef0286518bc8183a0f911beb16d5.tar.gz
vyos-1x-04bdcbc8c271ef0286518bc8183a0f911beb16d5.zip
T5296: Fix QoS class bandwidth calculation for auto and percent
There are wrong bandwidth calculations for the class We shouldn't rely on interface speed but we should get this value from 'shaper <tag> bandwidth xxx' if configured 'auto' or bandwidth with '%' Otherwise we can get unexpected rate for the class % sudo cat /sys/class/net/eth0/speed % -1 generated rate: classid 1:17 htb rate -1000000 Fix this
Diffstat (limited to 'scripts/build-command-templates')
0 files changed, 0 insertions, 0 deletions