From ea57ccb86b5c75246dabb8306c35b997cb4ede9d Mon Sep 17 00:00:00 2001 From: Erik Fonnesbeck Date: Wed, 10 Nov 2010 21:25:03 -0700 Subject: Use this sort before saving, so the rule just added is sorted into the proper category like the rest. --- usr/local/www/firewall_rules_edit.php | 1 + 1 file changed, 1 insertion(+) (limited to 'usr/local') 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'); -- cgit v1.1