diff options
author | Ermal Luçi <eri@pfsense.org> | 2008-01-21 23:49:17 +0000 |
---|---|---|
committer | Ermal Luçi <eri@pfsense.org> | 2008-01-21 23:49:17 +0000 |
commit | 656aa47649871f6692e2b73d23b34724ce39a3c0 (patch) | |
tree | 751e692ddd10cb71418ea31245f3dc28fd45b5ea /usr | |
parent | 5f928f22cd657c93380fa6a5536c4a4236cd691c (diff) | |
download | pfsense-656aa47649871f6692e2b73d23b34724ce39a3c0.zip pfsense-656aa47649871f6692e2b73d23b34724ce39a3c0.tar.gz |
Make sure the 80% limit for linkshare is not passesd by qVoIP during wizard.
Diffstat (limited to 'usr')
-rw-r--r-- | usr/local/www/wizards/traffic_shaper_wizard.inc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr/local/www/wizards/traffic_shaper_wizard.inc b/usr/local/www/wizards/traffic_shaper_wizard.inc index 4c4b35a..506382e 100644 --- a/usr/local/www/wizards/traffic_shaper_wizard.inc +++ b/usr/local/www/wizards/traffic_shaper_wizard.inc @@ -804,12 +804,12 @@ $othersplist = array(); } else if ($sched == "HFSC") { if ($voipbw > 0) { $tmpcf['realtime'] = "on"; - $tmpcf['realtime3'] = "{$voipbw}%"; + $tmpcf['realtime1'] = "{$voipbw}%"; /* XXX: Don't know why PF does not allow only realtime set?! */ $tmpcf['bandwidth'] = "{$voipbw}"; $tmpcf['bandwidthtype'] = "%"; - $voipbw = $voipbw + 5; - $tmpcf['realtime1'] = "{$voipbw}%"; + $voipbw = $voipbw - 5; + $tmpcf['realtime3'] = "{$voipbw}%"; $tmpcf['realtime2'] = 30; } else { $tmpcf['realtime'] = "on"; |