summaryrefslogtreecommitdiffstats
path: root/usr/local/www/firewall_rules.php
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2011-08-30 15:29:37 -0400
committerjim-p <jimp@pfsense.org>2011-08-30 15:30:10 -0400
commitbadc234035f2d0f3ba7db8b5ce589d91fa3ec625 (patch)
tree71e7f1658a1274405060667f0da6b8c0a58ee683 /usr/local/www/firewall_rules.php
parentbde9fd21992d88cf7a13c5d8b5c11f2644416153 (diff)
downloadpfsense-badc234035f2d0f3ba7db8b5ce589d91fa3ec625.zip
pfsense-badc234035f2d0f3ba7db8b5ce589d91fa3ec625.tar.gz
Fix bottom note when viewing Floating rules to better reflect how they operate.
Diffstat (limited to 'usr/local/www/firewall_rules.php')
-rwxr-xr-xusr/local/www/firewall_rules.php21
1 files changed, 15 insertions, 6 deletions
diff --git a/usr/local/www/firewall_rules.php b/usr/local/www/firewall_rules.php
index 8e61360..a209974 100755
--- a/usr/local/www/firewall_rules.php
+++ b/usr/local/www/firewall_rules.php
@@ -863,12 +863,21 @@ if($_REQUEST['undodrag']) {
<span class="red"><?=gettext("Hint:");?></span>
</strong><br>
<ul>
- <li><?=gettext("Rules are evaluated on a first-match basis (i.e. " .
- "the action of the first rule to match a packet will be executed). " .
- "This means that if you use block rules, you'll have to pay attention " .
- "to the rule order. Everything that isn't explicitly passed is blocked " .
- "by default. ");?>
-</li>
+<? if ("FloatingRules" != $if): ?>
+ <li><?=gettext("Rules are evaluated on a first-match basis (i.e. " .
+ "the action of the first rule to match a packet will be executed). " .
+ "This means that if you use block rules, you'll have to pay attention " .
+ "to the rule order. Everything that isn't explicitly passed is blocked " .
+ "by default. ");?>
+ </li>
+<? else: ?>
+ <li><?=gettext("Floating rules are evaluated on a first-match basis (i.e. " .
+ "the action of the first rule to match a packet will be executed) only " .
+ "if the 'quick' option is checked on a rule. Otherwise they will only apply if no " .
+ "other rules match. Pay close attention to the rule order and options " .
+ "chosen. If no rule here matches, the per-interface or default rules are used. ");?>
+ </li>
+<? endif; ?>
</ul>
</td>
</tr>
OpenPOWER on IntegriCloud