projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix iptables extension issue with mac os x builds
[openwrt.git]
/
package
/
qos-scripts
/
files
/
usr
/
lib
/
qos.sh
diff --git
a/package/qos-scripts/files/usr/lib/qos.sh
b/package/qos-scripts/files/usr/lib/qos.sh
index
bc04807
..
724784e
100755
(executable)
--- a/
package/qos-scripts/files/usr/lib/qos.sh
+++ b/
package/qos-scripts/files/usr/lib/qos.sh
@@
-143,7
+143,6
@@
config_cb() {
interface)
config_set "$1" "classgroup" "Default"
config_set "$1" "upload" "128"
interface)
config_set "$1" "classgroup" "Default"
config_set "$1" "upload" "128"
- config_set "$1" "download" "1024"
;;
classify|default|reclassify)
option_cb() {
;;
classify|default|reclassify)
option_cb() {
@@
-276,6
+275,7
@@
BEGIN {
print "sfq perturb 10 limit " cqlen
} else {
avpkt = 1200
print "sfq perturb 10 limit " cqlen
} else {
avpkt = 1200
+ if (min < avpkt) min = avpkt
min = int(limit * 1024 / 8 * 0.1)
dqb = cqlen * 1500
max = int(min + (dqb - min) * 0.25)
min = int(limit * 1024 / 8 * 0.1)
dqb = cqlen * 1500
max = int(min + (dqb - min) * 0.25)
This page took
0.050308 seconds
and
4
git commands to generate.