diff options
author | Ben Cook <dmantilal@gmail.com> | 2015-06-21 19:49:21 -0400 |
---|---|---|
committer | Ben Cook <dmantilal@gmail.com> | 2015-06-21 19:49:21 -0400 |
commit | 5a147eaf130a3b47ec94c11030b052a79d3a0f40 (patch) | |
tree | 73bd96f6130f7010f6f52b9859110dc5c67e5c46 /etc | |
parent | 62102a8b1a8d494c872dd31311f94aea99e97250 (diff) | |
download | pfsense-5a147eaf130a3b47ec94c11030b052a79d3a0f40.zip pfsense-5a147eaf130a3b47ec94c11030b052a79d3a0f40.tar.gz |
Fix var name typo in shaper.inc
Fix typo so get_bandwidthtype_scale can do more than default to "1".
Diffstat (limited to 'etc')
-rw-r--r-- | etc/inc/shaper.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/shaper.inc b/etc/inc/shaper.inc index 9f2f4b6..1946bc3 100644 --- a/etc/inc/shaper.inc +++ b/etc/inc/shaper.inc @@ -491,7 +491,7 @@ class altq_root_queue { $myBw = $this->GetAvailableBandwidth() * $queue['bandwidth'] / 100; break; default: - $myBw = $queue['bandwidth'] * get_bandwidthtype_scale($queue['bandwdithtype']); + $myBw = $queue['bandwidth'] * get_bandwidthtype_scale($queue['bandwidthtype']); break; } } |