diff options
author | Phil Davis <phil.davis@inf.org> | 2016-03-29 06:59:06 +0545 |
---|---|---|
committer | Phil Davis <phil.davis@inf.org> | 2016-03-29 06:59:06 +0545 |
commit | 1cdd354e3ff56970215c169ac77b13f8d1dbca5c (patch) | |
tree | 2710f42d53ca8c239777a5da59a02e67e6505ecc /src/usr/local/www/wizards/traffic_shaper_wizard_dedicated.inc | |
parent | fbe6a2ce782a09a043c871215d0b8c4812fc7778 (diff) | |
download | pfsense-1cdd354e3ff56970215c169ac77b13f8d1dbca5c.zip pfsense-1cdd354e3ff56970215c169ac77b13f8d1dbca5c.tar.gz |
Add brackets for clarity
Add some extra brackets for clarity, rather than relying on the operator
precedence rules. IMHO this makes it more readable, and no need for the
reader to wonder if anything might go wrong with the operator
precedence.
Diffstat (limited to 'src/usr/local/www/wizards/traffic_shaper_wizard_dedicated.inc')
-rw-r--r-- | src/usr/local/www/wizards/traffic_shaper_wizard_dedicated.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/usr/local/www/wizards/traffic_shaper_wizard_dedicated.inc b/src/usr/local/www/wizards/traffic_shaper_wizard_dedicated.inc index b29d1d0..918e27a 100644 --- a/src/usr/local/www/wizards/traffic_shaper_wizard_dedicated.inc +++ b/src/usr/local/www/wizards/traffic_shaper_wizard_dedicated.inc @@ -1227,9 +1227,9 @@ function apply_all_chosen_items() { } else if ($sched == "HFSC") { $tmpcf['upperlimit'] = "on"; - $tmpcf['upperlimit3'] = $downqbw / 1000 . "Kb"; + $tmpcf['upperlimit3'] = ($downqbw / 1000) . "Kb"; $tmpcf['linkshare'] = "on"; - $tmpcf['linkshare3'] = $downqbw / 1000 . "Kb"; + $tmpcf['linkshare3'] = ($downqbw / 1000) . "Kb"; $tmpcf['bandwidth'] = $downqbw / 1000; $tmpcf['bandwidthtype'] = "Kb"; } |