summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorErik Fonnesbeck <efonnes@gmail.com>2010-11-10 21:25:03 -0700
committerErik Fonnesbeck <efonnes@gmail.com>2010-11-10 21:27:24 -0700
commitea57ccb86b5c75246dabb8306c35b997cb4ede9d (patch)
tree74e85248079eb1eeeb89362de6c7aad114ac1456
parentce2078f7d0558b044474bb86697ee39763721c90 (diff)
downloadpfsense-ea57ccb86b5c75246dabb8306c35b997cb4ede9d.zip
pfsense-ea57ccb86b5c75246dabb8306c35b997cb4ede9d.tar.gz
Use this sort before saving, so the rule just added is sorted into the proper category like the rest.
-rwxr-xr-xusr/local/www/firewall_rules_edit.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/usr/local/www/firewall_rules_edit.php b/usr/local/www/firewall_rules_edit.php
index ce7c1d2..166bfa8 100755
--- a/usr/local/www/firewall_rules_edit.php
+++ b/usr/local/www/firewall_rules_edit.php
@@ -546,6 +546,7 @@ if ($_POST) {
$a_filter[] = $filterent;
}
+ filter_rules_sort();
write_config();
mark_subsystem_dirty('filter');
OpenPOWER on IntegriCloud