summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorBill Marquette <billm@pfsense.org>2005-09-04 00:20:06 +0000
committerBill Marquette <billm@pfsense.org>2005-09-04 00:20:06 +0000
commit62f6bc1f184ebf835e944ad05c44ef94fa5ca42a (patch)
treeb8a81f25179a70bb4bc7c7ae4e83d7ccf14eb23c /usr
parentc9aa1921f9bc7b95a945b62118b5cf269dc777bf (diff)
downloadpfsense-62f6bc1f184ebf835e944ad05c44ef94fa5ca42a.zip
pfsense-62f6bc1f184ebf835e944ad05c44ef94fa5ca42a.tar.gz
Only mark pool dirty if something changed
Diffstat (limited to 'usr')
-rwxr-xr-xusr/local/www/load_balancer_pool_edit.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/usr/local/www/load_balancer_pool_edit.php b/usr/local/www/load_balancer_pool_edit.php
index f9c5bb0..10a9b77 100755
--- a/usr/local/www/load_balancer_pool_edit.php
+++ b/usr/local/www/load_balancer_pool_edit.php
@@ -124,10 +124,12 @@ if ($_POST) {
} else
$a_pool[] = $poolent;
- touch($d_poolconfdirty_path);
- if ($changecount > 0)
+ if ($changecount > 0) {
+ /* Mark pool dirty */
+ touch($d_poolconfdirty_path);
write_config($changedesc);
+ }
header("Location: load_balancer_pool.php");
exit;
OpenPOWER on IntegriCloud