summaryrefslogtreecommitdiffstats
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:29:37 -0400
commit55833877498931addd9fb0bbf79f47d783e5e0cc (patch)
tree2d155707999af095f678383b82d3d1e4e8d18bf3
parent3499a9544552170198821008cd06c04ea4f4fd96 (diff)
downloadpfsense-55833877498931addd9fb0bbf79f47d783e5e0cc.zip
pfsense-55833877498931addd9fb0bbf79f47d783e5e0cc.tar.gz
Fix bottom note when viewing Floating rules to better reflect how they operate.
-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 a7b9585..cbbaba1 100755
--- a/usr/local/www/firewall_rules.php
+++ b/usr/local/www/firewall_rules.php
@@ -851,12 +851,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