diff options
author | NOYB <Al_Stu@Frontier.com> | 2016-02-09 15:16:56 -0800 |
---|---|---|
committer | NOYB <Al_Stu@Frontier.com> | 2016-02-09 19:04:21 -0800 |
commit | 3e17a55d7d685065dffdc38791a3373646885f1c (patch) | |
tree | 55af2b153cb542b7df342f57938dd580de3416f0 /src | |
parent | d280ec9bd0b560a5b4013f793ce81c79ee13b2a8 (diff) | |
download | pfsense-3e17a55d7d685065dffdc38791a3373646885f1c.zip pfsense-3e17a55d7d685065dffdc38791a3373646885f1c.tar.gz |
Add a comment about the floating rules copy/dup "hack" so the purpose will remain evident in the future.
Diffstat (limited to 'src')
-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 { |