diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2006-03-17 17:27:43 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2006-03-17 17:27:43 +0000 |
commit | 63f247b62728856caaa9d005f6ec5907cbd5f6de (patch) | |
tree | 54707291b9317c44ee9e6ffcec840521cd49858d /usr/local/www/wizards/traffic_shaper_wizard.xml | |
parent | aecffb0aa8b4ff82ee9f13376fa0dec3995a0965 (diff) | |
download | pfsense-63f247b62728856caaa9d005f6ec5907cbd5f6de.zip pfsense-63f247b62728856caaa9d005f6ec5907cbd5f6de.tar.gz |
MFC 10652
Make wizard work on described OPT interfaces
Diffstat (limited to 'usr/local/www/wizards/traffic_shaper_wizard.xml')
-rw-r--r-- | usr/local/www/wizards/traffic_shaper_wizard.xml | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/usr/local/www/wizards/traffic_shaper_wizard.xml b/usr/local/www/wizards/traffic_shaper_wizard.xml index d3e8f5a..3dc592e 100644 --- a/usr/local/www/wizards/traffic_shaper_wizard.xml +++ b/usr/local/www/wizards/traffic_shaper_wizard.xml @@ -111,8 +111,8 @@ header("Location: /wizard.php?xml=traffic_shaper_wizard.xml&stepid={$stepid}&message={$message}"); exit; } - $downq = "q" . strtoupper($config['ezshaper']['step2']['inside_int']); - $upq = "q" . strtoupper($config['ezshaper']['step2']['outside_int']); + $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']); /* Magic shaper scheduler */ $config['shaper']['schedulertype'] = "hfsc"; @@ -384,8 +384,8 @@ } if ( $_POST['enable'] ) { - $downq = "q" . strtoupper($config['ezshaper']['step2']['inside_int']); - $upq = "q" . strtoupper($config['ezshaper']['step2']['outside_int']); + $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']); $downint = strtolower($config['ezshaper']['step2']['inside_int']); $upint = strtolower($config['ezshaper']['step2']['outside_int']); @@ -690,8 +690,8 @@ /* XXX - billm - needs to actually honor what the user selects still */ if ( $_POST['enable'] ) { - $downq = "q" . strtoupper($config['ezshaper']['step2']['inside_int']); - $upq = "q" . strtoupper($config['ezshaper']['step2']['outside_int']); + $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']); $downint = strtolower($config['ezshaper']['step2']['inside_int']); $upint = strtolower($config['ezshaper']['step2']['outside_int']); @@ -980,8 +980,8 @@ <stepsubmitphpaction> /* XXX - billm - needs to actually honor what the user selects still */ if ( $_POST['enable'] ) { - $downq = "q" . strtoupper($config['ezshaper']['step2']['inside_int']); - $upq = "q" . strtoupper($config['ezshaper']['step2']['outside_int']); + $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']); $downint = strtolower($config['ezshaper']['step2']['inside_int']); $upint = strtolower($config['ezshaper']['step2']['outside_int']); @@ -1742,8 +1742,8 @@ </fields> <stepsubmitphpaction> if ( $_POST['enable'] ) { - $downq = "q" . strtoupper($config['ezshaper']['step2']['inside_int']); - $upq = "q" . strtoupper($config['ezshaper']['step2']['outside_int']); + $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']); $downint = strtolower($config['ezshaper']['step2']['inside_int']); $upint = strtolower($config['ezshaper']['step2']['outside_int']); /* create qOthersUp queue */ |