summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorErmal Luçi <eri@pfsense.org>2008-10-14 18:35:45 +0000
committerErmal Luçi <eri@pfsense.org>2008-10-14 18:35:45 +0000
commitb112841f22adec5cdeffd0b523fb6db14cce6487 (patch)
tree3a64dda2431b9be9325704dbe456167f43f744e2 /usr
parentf51f39895904deab4303e23a6747b03de2c61844 (diff)
downloadpfsense-b112841f22adec5cdeffd0b523fb6db14cce6487.zip
pfsense-b112841f22adec5cdeffd0b523fb6db14cce6487.tar.gz
Lock the config before reconfiguring filter rules.
Diffstat (limited to 'usr')
-rwxr-xr-xusr/local/www/interfaces.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/usr/local/www/interfaces.php b/usr/local/www/interfaces.php
index 09c0aab..fa6e0a5 100755
--- a/usr/local/www/interfaces.php
+++ b/usr/local/www/interfaces.php
@@ -271,7 +271,9 @@ if ($_POST['apply']) {
}
/* sync filter configuration */
+ config_lock();
filter_configure();
+ config_unlock();
/* set up static routes */
system_routing_configure();
OpenPOWER on IntegriCloud