diff options
author | Ermal Luçi <eri@pfsense.org> | 2008-01-27 19:57:39 +0000 |
---|---|---|
committer | Ermal Luçi <eri@pfsense.org> | 2008-01-27 19:57:39 +0000 |
commit | 166d69e48c659d622afab13f23da8458105b6a2a (patch) | |
tree | e6a4f449d912a31d2dcf0f61106a3649c65c2d46 /usr/local | |
parent | eaa372599b29d34d4f2443922020fbb8e82c4008 (diff) | |
download | pfsense-166d69e48c659d622afab13f23da8458105b6a2a.zip pfsense-166d69e48c659d622afab13f23da8458105b6a2a.tar.gz |
Fix a stale calculation. They are not yet safe(for now).
Diffstat (limited to 'usr/local')
-rw-r--r-- | usr/local/www/wizards/traffic_shaper_wizard.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/wizards/traffic_shaper_wizard.inc b/usr/local/www/wizards/traffic_shaper_wizard.inc index 3e3918d..36d3d11 100644 --- a/usr/local/www/wizards/traffic_shaper_wizard.inc +++ b/usr/local/www/wizards/traffic_shaper_wizard.inc @@ -887,7 +887,7 @@ $othersplist = array(); $tmpcf['enabled'] = "on"; If ($sched == "CBQ") { $tmpcf['borrow'] = "on"; - $tmpcf['bandwidth'] = round(pow(10, 0.8 * log(input_bw/$ifbw) + log(0.0558)), 2); + $tmpcf['bandwidth'] = $remainbw * 0.2; $tmpcf['bandwidthtype'] = "%"; } else if ($sched == "HFSC") { |