summaryrefslogtreecommitdiffstats
path: root/usr/local/www/wizards/traffic_shaper_wizard.inc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2006-05-24 17:55:41 +0000
committerScott Ullrich <sullrich@pfsense.org>2006-05-24 17:55:41 +0000
commit16eb509a0d3f5052328912742272354bd01cb128 (patch)
tree44f9618ac53857b4e084ed7670e48480ac9af2a1 /usr/local/www/wizards/traffic_shaper_wizard.inc
parent343f47582714e110cb03642aa3ab4e4b04372b2c (diff)
downloadpfsense-16eb509a0d3f5052328912742272354bd01cb128.zip
pfsense-16eb509a0d3f5052328912742272354bd01cb128.tar.gz
Remove upload or download speed check, the javascript validation code should work its magic instead.
Diffstat (limited to 'usr/local/www/wizards/traffic_shaper_wizard.inc')
-rw-r--r--usr/local/www/wizards/traffic_shaper_wizard.inc7
1 files changed, 1 insertions, 6 deletions
diff --git a/usr/local/www/wizards/traffic_shaper_wizard.inc b/usr/local/www/wizards/traffic_shaper_wizard.inc
index 30e71bf..ec96e56 100644
--- a/usr/local/www/wizards/traffic_shaper_wizard.inc
+++ b/usr/local/www/wizards/traffic_shaper_wizard.inc
@@ -46,12 +46,7 @@ function step2_stepsubmitphpaction() {
$message="Inside and Outside interfaces cannot be the same";
header("Location: /wizard.php?xml=traffic_shaper_wizard.xml&amp;stepid=1&amp;message={$message}");
exit;
- }
- if ($_POST['download'] == "" or $_POST['upload]'] == "") {
- $message="Upload or download speeds cannot be empty!";
- header("Location: /wizard.php?xml=traffic_shaper_wizard.xml&amp;stepid=1&amp;message={$message}");
- exit;
- }
+ }
$downq = "q" . convert_friendly_interface_to_friendly_descr($config['ezshaper']['step2']['inside_int']);
$upq = "q" . convert_friendly_interface_to_friendly_descr($config['ezshaper']['step2']['outside_int']);
OpenPOWER on IntegriCloud