summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-05-04 05:37:45 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-05-04 05:37:45 +0000
commit40b0fe5b565738f19cd5d90e795d7bea0a106adf (patch)
tree7baf2f361a1c9ef591aeff9146f0bb0969bd1558 /usr
parented08ef3ea307de4dd0a72b84ee353cdf1ff70d1d (diff)
downloadpfsense-40b0fe5b565738f19cd5d90e795d7bea0a106adf.zip
pfsense-40b0fe5b565738f19cd5d90e795d7bea0a106adf.tar.gz
* Change to minutes to 1-255
* Select "" if minutes < 1
Diffstat (limited to 'usr')
-rwxr-xr-xusr/local/www/firewall_rules_edit.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr/local/www/firewall_rules_edit.php b/usr/local/www/firewall_rules_edit.php
index 66e6379..1dcc2ae 100755
--- a/usr/local/www/firewall_rules_edit.php
+++ b/usr/local/www/firewall_rules_edit.php
@@ -797,9 +797,9 @@ Hint: the difference between block and reject is that with reject, a packet (TCP
<input name="max-src-states" id="max-src-states" value="<?php echo $pconfig['max-src-states'] ?>"><br> Maximum state entries per host<p>
<input name="max-src-conn-rate" id="max-src-conn-rate" value="<?php echo $pconfig['max-src-conn-rate'] ?>"> /
<select name="max-src-conn-rates" id="max-src-conn-rates">
- <option value=""<?php if($pconfig['max-src-conn-rates'] == "") echo " selected"; ?>></option>
+ <option value=""<?php if(intval($pconfig['max-src-conn-rates']) < 1) echo " selected"; ?>></option>
<?php
- for($x=0; $x<255; $x++) {
+ for($x=1; $x<255; $x++) {
if($x == $pconfig['max-src-conn-rates'])
$selected = " selected";
else
@@ -809,7 +809,7 @@ Hint: the difference between block and reject is that with reject, a packet (TCP
?>
</select>
<br>
- New connections / per second
+ Maximum new connections / per second
<p><strong>NOTE: Leave these fields blank to disable this feature.</strong>
</td>
</tr>
OpenPOWER on IntegriCloud