diff options
-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 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; } } |