summaryrefslogtreecommitdiffstats
path: root/usr/local
diff options
context:
space:
mode:
authorBill Marquette <billm@pfsense.org>2005-08-13 05:39:49 +0000
committerBill Marquette <billm@pfsense.org>2005-08-13 05:39:49 +0000
commit5b0ba14d9cd9333810ddd88563e084fb31123515 (patch)
tree112429c9e1f7f81e10d10516391bdc3f43a60122 /usr/local
parent453afca05edd596d1dcdffe5310d7a92d73d1b37 (diff)
downloadpfsense-5b0ba14d9cd9333810ddd88563e084fb31123515.zip
pfsense-5b0ba14d9cd9333810ddd88563e084fb31123515.tar.gz
Ticket #330, fix the other half of the bug
Diffstat (limited to 'usr/local')
-rwxr-xr-xusr/local/www/firewall_shaper_queues_edit.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/usr/local/www/firewall_shaper_queues_edit.php b/usr/local/www/firewall_shaper_queues_edit.php
index 6f3ff2b..d6f9c76 100755
--- a/usr/local/www/firewall_shaper_queues_edit.php
+++ b/usr/local/www/firewall_shaper_queues_edit.php
@@ -127,7 +127,8 @@ if ($_POST) {
$queue['attachtoqueue'] = $_POST['attachtoqueue'];
$queue['associatedrule'] = $_POST['associatedrule'];
$scheduleroptions="";
- $queue['ack'] = $_POST['ack'];
+ if ($_POST['ack'])
+ $queue['ack'] = $_POST['ack'];
$queue['rio'] = $_POST['rio'];
$queue['red'] = $_POST['red'];
$queue['ecn'] = $_POST['ecn'];
@@ -242,7 +243,7 @@ include("head.inc");
<?php if ($schedulertype == "cbq"): ?>
<input type="checkbox" id="borrow" name="borrow" <?php if($borrow) echo " CHECKED";?> > Borrow from other queues when available<br>
<? endif; ?>
- <input type="checkbox" id="ack" name="ack" <?php if($ack) echo " CHECKED";?> > ACK/low-delay queue. At least one queue per interface should have this checked.<br>
+ <input type="checkbox" id="ack" name="ack" <?php if(isset($ack)) echo " CHECKED";?> > ACK/low-delay queue. At least one queue per interface should have this checked.<br>
<input type="checkbox" id="red" name="red" <?php if($red) echo " CHECKED";?> > <a target="_new" href="http://www.openbsd.org/faq/pf/queueing.html#red">Random Early Detection</a><br>
<input type="checkbox" id="rio" name="rio" <?php if($rio) echo " CHECKED";?> > <a target="_new" href="http://www.openbsd.org/faq/pf/queueing.html#red">Random Early Detection In and Out</a><br>
<input type="checkbox" id="ecn" name="ecn" <?php if($ecn) echo " CHECKED";?> > <a target="_new" href="http://www.openbsd.org/faq/pf/queueing.html#ecn">Explicit Congestion Notification</a><br>
OpenPOWER on IntegriCloud