Revision 3e17a55d
Added by NOYB NOYB over 9 years ago
src/usr/local/www/firewall_rules_edit.php | ||
---|---|---|
913 | 913 |
if (is_numeric($after)) { |
914 | 914 |
array_splice($a_filter, $after+1, 0, array($filterent)); |
915 | 915 |
|
916 |
// For copy/dup the $if var is taken from the rule. |
|
917 |
// In the case of floating rules that could be anything. But never "FloatingRules" that is needed. |
|
916 | 918 |
if (isset($pconfig['floating'])) { |
917 | 919 |
$tmpif = 'FloatingRules'; |
918 | 920 |
} else { |
Also available in: Unified diff
Add a comment about the floating rules copy/dup "hack" so the purpose will remain evident in the future.