summaryrefslogtreecommitdiffstats
path: root/usr/local/www/firewall_rules.php
diff options
context:
space:
mode:
authorErik Fonnesbeck <efonnes@gmail.com>2010-08-11 22:49:01 -0600
committerErik Fonnesbeck <efonnes@gmail.com>2010-08-11 22:49:01 -0600
commit6073ef320e964affc209d9df65d42d48a2cbd102 (patch)
treeaa39e9d29cdf1f2fba985b34ef25078a0fdbd0f8 /usr/local/www/firewall_rules.php
parentddc55e124418ff8b417a4353afcc5a814af4041d (diff)
downloadpfsense-6073ef320e964affc209d9df65d42d48a2cbd102.zip
pfsense-6073ef320e964affc209d9df65d42d48a2cbd102.tar.gz
Fix text for a couple advanced options on filter rule list.
Diffstat (limited to 'usr/local/www/firewall_rules.php')
-rwxr-xr-xusr/local/www/firewall_rules.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr/local/www/firewall_rules.php b/usr/local/www/firewall_rules.php
index d8385f0..472f100 100755
--- a/usr/local/www/firewall_rules.php
+++ b/usr/local/www/firewall_rules.php
@@ -51,7 +51,7 @@ require_once("shaper.inc");
$pgtitle = array(gettext("Firewall"),gettext("Rules"));
-function check_for_advaned_options(&$item) {
+function check_for_advanced_options(&$item) {
$item_set = "";
if($item['max'])
$item_set .= "max {$item['max']} ";
@@ -62,9 +62,9 @@ function check_for_advaned_options(&$item) {
if($item['max-src-states'])
$item_set .= "max-src-states {$item['max-src-states']} ";
if($item['statetype'] != "keep state" && $item['statetype'] != "")
- $item_set .= "statetype {$item['statetype']} {$item['statetype']}";
+ $item_set .= "statetype {$item['statetype']} ";
if($item['statetimeout'])
- $item_set .= "statetimeout {$item['statetimeout']}";
+ $item_set .= "statetimeout {$item['statetimeout']} ";
if($item['nosync'])
$item_set .= "nosync ";
if($item['max-src-conn-rate'])
@@ -436,7 +436,7 @@ if($_REQUEST['undodrag']) {
continue;
if (isset($filterent['floating']) && "FloatingRules" != $if)
continue;
- $isadvset = check_for_advaned_options($filterent);
+ $isadvset = check_for_advanced_options($filterent);
if($isadvset)
$advanced_set = "<img src=\"./themes/{$g['theme']}/images/icons/icon_advanced.gif\" title=\"" . gettext("advanced settings set") . ": {$isadvset}\" border=\"0\">";
else
OpenPOWER on IntegriCloud