diff options
author | Ermal <eri@pfsense.org> | 2012-10-23 20:56:19 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2012-10-23 20:56:19 +0000 |
commit | fbfed5baccbe768594f60ef4bceb98a9a882ae45 (patch) | |
tree | 9de96af2292e898081530473a436237dc88a49bd /etc/inc | |
parent | e5df3664f9760fb3841a5fb3d3aa7762eccb6011 (diff) | |
download | pfsense-fbfed5baccbe768594f60ef4bceb98a9a882ae45.zip pfsense-fbfed5baccbe768594f60ef4bceb98a9a882ae45.tar.gz |
Correct issues with limiters. 1. correct spelling of config option 2. avoid duplicating javascript
Diffstat (limited to 'etc/inc')
-rw-r--r-- | etc/inc/shaper.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/inc/shaper.inc b/etc/inc/shaper.inc index efd2eed..a13ec30 100644 --- a/etc/inc/shaper.inc +++ b/etc/inc/shaper.inc @@ -3002,7 +3002,7 @@ class dnpipe_class extends dummynet_class { $bandwidth = $this->GetBandwidth(); if (is_array($bandwidth)) { foreach ($bandwidth as $bw) { - if ($bw['sched'] != "none") { + if ($bw['bwsched'] != "none") { $time_based_rules = true; if (is_array($config['schedules']) && is_array($config['schedules']['schedule'])) { foreach ($config['schedules']['schedule'] as $schedule) { @@ -3072,7 +3072,7 @@ class dnpipe_class extends dummynet_class { foreach (array("Kb" => "Kbit/s", "Mb" => "Mbit/s", "Gb" => "Gbit/s", "b" => "Bit/s") as $bwidx => $bw) $bwopt .= "<option value='{$bwidx}'>{$bw}</option>"; - $javasr = <<<EOD + $javasr = <<<EOD <script text='type/javascript'> var addBwRowTo = (function() { return (function (tableId) { |