diff options
author | Ermal <eri@pfsense.org> | 2010-12-14 22:59:53 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2010-12-14 22:59:53 +0000 |
commit | 1d164dd444cb1af57e0adef0b0bf46be263dcf41 (patch) | |
tree | 497878a8ba3a27c31bbad2c9f3428490877a00a4 /usr/local/www/wizards/traffic_shaper_wizard_dedicated.inc | |
parent | f5c05fcc613728bc5a18898b4799e8e5a8df7529 (diff) | |
download | pfsense-1d164dd444cb1af57e0adef0b0bf46be263dcf41.zip pfsense-1d164dd444cb1af57e0adef0b0bf46be263dcf41.tar.gz |
Provide a default value to the function for converting kb/Mb to coeficient for math.
Diffstat (limited to 'usr/local/www/wizards/traffic_shaper_wizard_dedicated.inc')
-rwxr-xr-x | usr/local/www/wizards/traffic_shaper_wizard_dedicated.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/wizards/traffic_shaper_wizard_dedicated.inc b/usr/local/www/wizards/traffic_shaper_wizard_dedicated.inc index 50fa627..66b4716 100755 --- a/usr/local/www/wizards/traffic_shaper_wizard_dedicated.inc +++ b/usr/local/www/wizards/traffic_shaper_wizard_dedicated.inc @@ -1564,7 +1564,7 @@ function apply_all_choosen_items() { write_config(); } -function wizard_get_bandwidthtype_scale($type) { +function wizard_get_bandwidthtype_scale($type = "b") { switch ($type) { case "Gb": $factor = 1000 * 1000 * 1000; |