diff options
author | Bill Marquette <billm@pfsense.org> | 2005-09-24 19:03:29 +0000 |
---|---|---|
committer | Bill Marquette <billm@pfsense.org> | 2005-09-24 19:03:29 +0000 |
commit | 5c154fab401b1bc1a6e4bcfa09b3ffb0317d3a49 (patch) | |
tree | 9e0f05125f884efd0d4ec0c0738fa106d416f053 /usr | |
parent | f0c01ed01eae2c0e300fd5f08eac018a32fe27e7 (diff) | |
download | pfsense-5c154fab401b1bc1a6e4bcfa09b3ffb0317d3a49.zip pfsense-5c154fab401b1bc1a6e4bcfa09b3ffb0317d3a49.tar.gz |
propagate from branch 'org.pfsense.cvs.pfsense.pfSense' (head 9de46cfe54a5b5ecaa340e22cda21216035ae43d)
to branch 'org.pfsense.cvs.pfsense.pfSense.billm.traffic-shaper' (head 801d11dcf45d03f174d994d33b80cb65b8909916)
Remove debug code
Diffstat (limited to 'usr')
-rw-r--r-- | usr/local/www/wizards/traffic_shaper_wizard.xml | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/usr/local/www/wizards/traffic_shaper_wizard.xml b/usr/local/www/wizards/traffic_shaper_wizard.xml index cd743fa..c648e66 100644 --- a/usr/local/www/wizards/traffic_shaper_wizard.xml +++ b/usr/local/www/wizards/traffic_shaper_wizard.xml @@ -44,6 +44,12 @@ <warning>Going any further will wipe your existing shaper config! If you do not wish to continue, please click the pfSense logo at the top to return to the webConfigurator.</warning> </field> </fields> + <stepbeforeformdisplay> + /* Check to see if ALTQ can even be used */ + if(!is_altq_capable($config['interfaces']['wan']['if']) or !is_altq_capable($config['interfaces']['lan']['if'])) { + header("Location: /wizard.php?xml=traffic_shaper_wizard.xml&stepid=7"); + } + </stepbeforeformdisplay> <stepsubmitphpaction> /* wipe previous */ unset($config['shaper']['queue']); @@ -1537,4 +1543,18 @@ header("Location: /status_queues.php"); </stepsubmitphpaction> </step> +<step> + <id>8</id> + <title>pfSense Traffic Shaper Wizard</title> + <fields> + <field> + <name>Finish</name> + <type>submit</type> + <warning>Either your LAN or WAN interface doesn't support ALTQ. The wizard cannot continue.</warning> + </field> + </fields> + <stepsubmitphpaction> + header("Location: /"); + </stepsubmitphpaction> +</step> </pfsensewizard> |