summaryrefslogtreecommitdiffstats
path: root/usr/local/www/firewall_rules_edit.php
diff options
context:
space:
mode:
authorChris Buechler <cmb@pfsense.org>2015-02-09 14:20:17 -0600
committerChris Buechler <cmb@pfsense.org>2015-02-09 14:20:17 -0600
commit758b51a0213a08ab4d2189f9f1513cf34608da1b (patch)
treed52930f4c7ddf24b410e38600e44cf712d271d56 /usr/local/www/firewall_rules_edit.php
parent2b704ea9d2b5f0588da1a9bd8290c3e6db2adb1d (diff)
downloadpfsense-758b51a0213a08ab4d2189f9f1513cf34608da1b.zip
pfsense-758b51a0213a08ab4d2189f9f1513cf34608da1b.tar.gz
Use appropriate interface field description when working with floating rules, it was confusing and potentially incorrect for floating rule purposes.
Diffstat (limited to 'usr/local/www/firewall_rules_edit.php')
-rw-r--r--usr/local/www/firewall_rules_edit.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/usr/local/www/firewall_rules_edit.php b/usr/local/www/firewall_rules_edit.php
index 376b2ed..37a694c 100644
--- a/usr/local/www/firewall_rules_edit.php
+++ b/usr/local/www/firewall_rules_edit.php
@@ -945,7 +945,11 @@ include("head.inc");
<?php endforeach; ?>
</select>
<br />
- <span class="vexpl"><?=gettext("Choose on which interface packets must come in to match this rule.");?></span>
+ <?php if ($if == "FloatingRules" || isset($pconfig['floating'])): ?>
+ <span class="vexpl"><?=gettext("Choose the interface(s) for this rule.");?></span>
+ <?php else: ?>
+ <span class="vexpl"><?=gettext("Choose which interface packets must be sourced on to match this rule.");?></span>
+ <?php endif; ?>
</td>
</tr>
<?php if ($if == "FloatingRules" || isset($pconfig['floating'])): ?>
OpenPOWER on IntegriCloud