diff options
Diffstat (limited to 'src/usr')
-rw-r--r-- | src/usr/local/www/firewall_rules_edit.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/usr/local/www/firewall_rules_edit.php b/src/usr/local/www/firewall_rules_edit.php index 715d8e6..17bf822 100644 --- a/src/usr/local/www/firewall_rules_edit.php +++ b/src/usr/local/www/firewall_rules_edit.php @@ -913,6 +913,8 @@ if ($_POST) { if (is_numeric($after)) { array_splice($a_filter, $after+1, 0, array($filterent)); + // For copy/dup the $if var is taken from the rule. + // In the case of floating rules that could be anything. But never "FloatingRules" that is needed. if (isset($pconfig['floating'])) { $tmpif = 'FloatingRules'; } else { |