summaryrefslogtreecommitdiffstats
path: root/etc/inc/shaper.inc
diff options
context:
space:
mode:
authorErmal Luçi <eri@pfsense.org>2008-03-19 22:50:53 +0000
committerErmal Luçi <eri@pfsense.org>2008-03-19 22:50:53 +0000
commit2b85c049f5cb8be05f5374dac7c3dbda0f0d1823 (patch)
tree3528a236bfc18fd3ccde58e55ed1d56a0d497b86 /etc/inc/shaper.inc
parent1326c2592ab7730e37f7c7dfffcaa07471a656d6 (diff)
downloadpfsense-2b85c049f5cb8be05f5374dac7c3dbda0f0d1823.zip
pfsense-2b85c049f5cb8be05f5374dac7c3dbda0f0d1823.tar.gz
Use correct variable
Diffstat (limited to 'etc/inc/shaper.inc')
-rw-r--r--etc/inc/shaper.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/shaper.inc b/etc/inc/shaper.inc
index 8c574c0..40ec546 100644
--- a/etc/inc/shaper.inc
+++ b/etc/inc/shaper.inc
@@ -373,7 +373,7 @@ class altq_root_queue {
$myBw = $this->GetAvailableBandwidth() * $queue['bandwidth'] / 100;
break;
default:
- $myBw = $queue['bandwidth'] * get_bandwidthtype_scale($q['bandwdithtype']);
+ $myBw = $queue['bandwidth'] * get_bandwidthtype_scale($queue['bandwdithtype']);
break;
}
}
OpenPOWER on IntegriCloud