summaryrefslogtreecommitdiffstats
path: root/usr/local/www/firewall_rules_edit.php
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2011-05-30 12:28:21 -0400
committerScott Ullrich <sullrich@pfsense.org>2011-05-30 12:28:21 -0400
commit2ea00c3e74a0f574778ba3cf1ca8053fb7c000c3 (patch)
tree31719e481cc6c34aba5bd31e7df548211f108e3b /usr/local/www/firewall_rules_edit.php
parent3dbceb92140459d4ffff77df33dcc150c4e01d00 (diff)
downloadpfsense-2ea00c3e74a0f574778ba3cf1ca8053fb7c000c3.zip
pfsense-2ea00c3e74a0f574778ba3cf1ca8053fb7c000c3.tar.gz
Add missing plugin code. Move the pre_write section up a bit.
Diffstat (limited to 'usr/local/www/firewall_rules_edit.php')
-rwxr-xr-xusr/local/www/firewall_rules_edit.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr/local/www/firewall_rules_edit.php b/usr/local/www/firewall_rules_edit.php
index d673df8..79f65f0 100755
--- a/usr/local/www/firewall_rules_edit.php
+++ b/usr/local/www/firewall_rules_edit.php
@@ -547,6 +547,9 @@ if ($_POST) {
$filterent['associated-rule-id'] = $a_filter[$id]['associated-rule-id'];
}
+ // Allow extending of the firewall edit page and include custom input validation
+ pfSense_handle_custom_code("/usr/local/pkg/firewall_rules/pre_write_config");
+
if (isset($id) && $a_filter[$id])
$a_filter[$id] = $filterent;
else {
@@ -558,9 +561,6 @@ if ($_POST) {
filter_rules_sort();
- // Allow extending of the firewall edit page and include custom input validation
- pfSense_handle_custom_code("/usr/local/pkg/firewall_rules/pre_write_config");
-
write_config();
mark_subsystem_dirty('filter');
OpenPOWER on IntegriCloud