diff options
author | Erik Fonnesbeck <efonnes@gmail.com> | 2010-11-10 21:25:03 -0700 |
---|---|---|
committer | Erik Fonnesbeck <efonnes@gmail.com> | 2010-11-10 21:27:24 -0700 |
commit | ea57ccb86b5c75246dabb8306c35b997cb4ede9d (patch) | |
tree | 74e85248079eb1eeeb89362de6c7aad114ac1456 | |
parent | ce2078f7d0558b044474bb86697ee39763721c90 (diff) | |
download | pfsense-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-x | usr/local/www/firewall_rules_edit.php | 1 |
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'); |