summaryrefslogtreecommitdiffstats
path: root/usr/local/www/wizards
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2006-08-16 19:27:14 +0000
committerScott Ullrich <sullrich@pfsense.org>2006-08-16 19:27:14 +0000
commitcc3d5730ed840ac589a5fb254e23d7e5e5a7a47b (patch)
treea81122655d9d851289d39f7db619e3293e26faa6 /usr/local/www/wizards
parent14a6f0e0096e417d0d0239f8c5813454ec16206b (diff)
downloadpfsense-cc3d5730ed840ac589a5fb254e23d7e5e5a7a47b.zip
pfsense-cc3d5730ed840ac589a5fb254e23d7e5e5a7a47b.tar.gz
Reset RRD queues after configuring Traffic Shaper
Diffstat (limited to 'usr/local/www/wizards')
-rw-r--r--usr/local/www/wizards/traffic_shaper_wizard.inc4
1 files changed, 4 insertions, 0 deletions
diff --git a/usr/local/www/wizards/traffic_shaper_wizard.inc b/usr/local/www/wizards/traffic_shaper_wizard.inc
index 21265f8..18b7d21 100644
--- a/usr/local/www/wizards/traffic_shaper_wizard.inc
+++ b/usr/local/www/wizards/traffic_shaper_wizard.inc
@@ -1071,6 +1071,10 @@ function step7_stepsubmitphpaction() {
/* Create new rules */
filter_configure();
+ /* reset rrd queues */
+ system("rm -f /var/db/rrd/wan-queues.rrd");
+ enable_rrd_graphing();
+
/* And we're no longer dirty! */
unlink_if_exists($d_shaperconfdirty_path);
OpenPOWER on IntegriCloud