diff --git a/usr/local/www/wizards/traffic_shaper_wizard.xml b/usr/local/www/wizards/traffic_shaper_wizard.xml index 13cf57e892..80c33edd31 100644 --- a/usr/local/www/wizards/traffic_shaper_wizard.xml +++ b/usr/local/www/wizards/traffic_shaper_wizard.xml @@ -47,7 +47,8 @@ /* 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"); + $message="Either your LAN or WAN interface doesn't support ALTQ. The wizard cannot continue."; + header("Location: /wizard.php?xml=traffic_shaper_wizard.xml&stepid=7&message={$message}"); } @@ -1921,7 +1922,7 @@ $config['shaper']['itemsshaped'] = "0"; $message = "No items have been selected to shape. Exiting traffic shaper wizard."; write_config("No shaper items picked, unsetting shaper configuration"); - header("Location: /wizard.php?xml=traffic_shaper_wizard.xml&stepid=8&message={$message}"); + header("Location: /wizard.php?xml=traffic_shaper_wizard.xml&stepid=7&message={$message}"); filter_configure(); exit; } @@ -1940,7 +1941,6 @@ Finish submit - Either your LAN or WAN interface doesn't support ALTQ. The wizard cannot continue.