fix iptables extension issue with mac os x builds
[openwrt.git] / package / qos-scripts / files / usr / lib / qos.sh
index bc04807..724784e 100755 (executable)
@@ -143,7 +143,6 @@ config_cb() {
                interface)
                        config_set "$1" "classgroup" "Default"
                        config_set "$1" "upload" "128"
-                       config_set "$1" "download" "1024"
                ;;
                classify|default|reclassify)
                        option_cb() {
@@ -276,6 +275,7 @@ BEGIN {
                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)
This page took 0.027299 seconds and 4 git commands to generate.