From e3a0c3b9fd0544c8f2ffed6210651c7821b46478 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Tue, 19 Dec 2006 02:53:02 +0000 Subject: fix qos-scripts RED qdisc calculation for slow lines SVN-Revision: 5853 --- package/qos-scripts/files/usr/lib/qos.sh | 1 + 1 file changed, 1 insertion(+) (limited to 'package/qos-scripts/files') diff --git a/package/qos-scripts/files/usr/lib/qos.sh b/package/qos-scripts/files/usr/lib/qos.sh index 8fcf9dc..724784e 100755 --- a/package/qos-scripts/files/usr/lib/qos.sh +++ b/package/qos-scripts/files/usr/lib/qos.sh @@ -275,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) -- cgit v1.1