summaryrefslogtreecommitdiffstats
path: root/usr/local/www/wizards
diff options
context:
space:
mode:
authorErmal Luçi <eri@pfsense.org>2008-01-27 19:57:39 +0000
committerErmal Luçi <eri@pfsense.org>2008-01-27 19:57:39 +0000
commit166d69e48c659d622afab13f23da8458105b6a2a (patch)
treee6a4f449d912a31d2dcf0f61106a3649c65c2d46 /usr/local/www/wizards
parenteaa372599b29d34d4f2443922020fbb8e82c4008 (diff)
downloadpfsense-166d69e48c659d622afab13f23da8458105b6a2a.zip
pfsense-166d69e48c659d622afab13f23da8458105b6a2a.tar.gz
Fix a stale calculation. They are not yet safe(for now).
Diffstat (limited to 'usr/local/www/wizards')
-rw-r--r--usr/local/www/wizards/traffic_shaper_wizard.inc2
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") {
OpenPOWER on IntegriCloud