diff options
author | Chris Buechler <cmb@pfsense.org> | 2016-03-23 00:40:24 -0500 |
---|---|---|
committer | Chris Buechler <cmb@pfsense.org> | 2016-03-23 00:40:24 -0500 |
commit | 8557d32321fc697cc19f169fca2eb3a0a7c1b57b (patch) | |
tree | e64e689468b23a96a630a5ca6fad6ae192bcc0a7 /src/etc | |
parent | 2638ddec7fca4e4e31b934517c890bc12c44fd55 (diff) | |
download | pfsense-8557d32321fc697cc19f169fca2eb3a0a7c1b57b.zip pfsense-8557d32321fc697cc19f169fca2eb3a0a7c1b57b.tar.gz |
Add paren here for clarity, suggested by Phil Davis.
Diffstat (limited to 'src/etc')
-rw-r--r-- | src/etc/inc/shaper.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/etc/inc/shaper.inc b/src/etc/inc/shaper.inc index 2be9c32..599407c 100644 --- a/src/etc/inc/shaper.inc +++ b/src/etc/inc/shaper.inc @@ -215,7 +215,7 @@ function get_obj_bandwidth($obj) { switch ($match[1]) { case '%': - $objbw = $bw / 100 * get_interface_bandwidth($object); + $objbw = ($bw / 100) * get_interface_bandwidth($object); break; default: $objbw = $bw * get_bandwidthtype_scale($scale); |