From 48bfce7cb18ef0656b828b07e559cf4376c82ee5 Mon Sep 17 00:00:00 2001 From: Maanas Royy Date: Tue, 26 Jul 2016 06:45:47 +0530 Subject: [PATCH] Clone rules are added after the original Rule In the existing state the clone rules are added in the bottom of the firewall wall rule list. Generally the clone rules are for similar interface, port, etc and most of the time after adding they need to be arranged. The change enable the clone rule to be placed after the original rule. This will allow a better comparison and arrangement of the firewall rules. --- firewall/save_rule.cgi | 1 + 1 file changed, 1 insertion(+) diff --git a/firewall/save_rule.cgi b/firewall/save_rule.cgi index 91d86f071..d099f837f 100755 --- a/firewall/save_rule.cgi +++ b/firewall/save_rule.cgi @@ -19,6 +19,7 @@ if ($in{'clone'}) { # Go back to the editing page &redirect("edit_rule.cgi?new=1&clone=$in{'idx'}&". "table=".&urlize($in{'table'})."&". + "after=$in{'idx'}&". "chain=".&urlize($rule->{'chain'})); }