diff options
author | Ermal Luçi <eri@pfsense.org> | 2008-10-14 18:35:45 +0000 |
---|---|---|
committer | Ermal Luçi <eri@pfsense.org> | 2008-10-14 18:35:45 +0000 |
commit | b112841f22adec5cdeffd0b523fb6db14cce6487 (patch) | |
tree | 3a64dda2431b9be9325704dbe456167f43f744e2 /usr | |
parent | f51f39895904deab4303e23a6747b03de2c61844 (diff) | |
download | pfsense-b112841f22adec5cdeffd0b523fb6db14cce6487.zip pfsense-b112841f22adec5cdeffd0b523fb6db14cce6487.tar.gz |
Lock the config before reconfiguring filter rules.
Diffstat (limited to 'usr')
-rwxr-xr-x | usr/local/www/interfaces.php | 2 |
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(); |