summaryrefslogtreecommitdiffstats
path: root/usr/local/www/wizards/traffic_shaper_wizard_multi_all.inc
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2010-10-20 15:13:47 +0000
committerErmal <eri@pfsense.org>2010-10-20 15:13:47 +0000
commitac87dbbf244d2415dbe72cc4746e2722004cf42c (patch)
tree0cd20a3c5d69f975f0fb0220c7c14f66958cfe12 /usr/local/www/wizards/traffic_shaper_wizard_multi_all.inc
parent7d30a315cbe1ead1bbeac17c6ce2cf2678b992e4 (diff)
downloadpfsense-ac87dbbf244d2415dbe72cc4746e2722004cf42c.zip
pfsense-ac87dbbf244d2415dbe72cc4746e2722004cf42c.tar.gz
Traffic shaper wizards remove redirection before final step. This seems a forgotten item.
Diffstat (limited to 'usr/local/www/wizards/traffic_shaper_wizard_multi_all.inc')
-rwxr-xr-xusr/local/www/wizards/traffic_shaper_wizard_multi_all.inc28
1 files changed, 13 insertions, 15 deletions
diff --git a/usr/local/www/wizards/traffic_shaper_wizard_multi_all.inc b/usr/local/www/wizards/traffic_shaper_wizard_multi_all.inc
index b44a0b8..63b3b11 100755
--- a/usr/local/www/wizards/traffic_shaper_wizard_multi_all.inc
+++ b/usr/local/www/wizards/traffic_shaper_wizard_multi_all.inc
@@ -598,27 +598,25 @@ function step5_stepsubmitphpaction() {
}
function step8_stepsubmitphpaction() {
- global $g, $config;
-
- /* save the new configuration */
- apply_all_choosen_items();
+ global $g, $config;
- /* reset rrd queues */
- system("rm -f /var/db/rrd/*queuedrops.rrd");
- system("rm -f /var/db/rrd/*queues.rrd");
- enable_rrd_graphing();
+ /* save the new configuration */
+ apply_all_choosen_items();
- /* apply the new configuration to the system */
- filter_configure();
+ /* reset rrd queues */
+ system("rm -f /var/db/rrd/*queuedrops.rrd");
+ system("rm -f /var/db/rrd/*queues.rrd");
+ enable_rrd_graphing();
- /* And we're no longer dirty! */
- clear_subsystem_dirty('shaper');
+ /* apply the new configuration to the system */
+ filter_configure();
- update_filter_reload_status("Initializing");
+ /* And we're no longer dirty! */
+ clear_subsystem_dirty('shaper');
- /* Head over and check out the groovy queue stats */
- header("Location: status_filter_reload.php");
+ update_filter_reload_status("Initializing");
}
+
function step9_stepsubmitphpaction() {
global $g, $config;
header("status_filter_reload.php");
OpenPOWER on IntegriCloud