summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorBill Marquette <billm@pfsense.org>2005-09-16 14:13:08 +0000
committerBill Marquette <billm@pfsense.org>2005-09-16 14:13:08 +0000
commit022d21840e8278188187ad72a16431ee0e8b6808 (patch)
tree56d5d2d102afd79da17a200ca95f19834d81f0c6 /usr
parent01eb3226d0469a523f1ae003d518aa9e2109268e (diff)
downloadpfsense-022d21840e8278188187ad72a16431ee0e8b6808.zip
pfsense-022d21840e8278188187ad72a16431ee0e8b6808.tar.gz
(#515) Allow default queue to be selected
Diffstat (limited to 'usr')
-rwxr-xr-xusr/local/www/firewall_shaper_queues_edit.php10
1 files changed, 1 insertions, 9 deletions
diff --git a/usr/local/www/firewall_shaper_queues_edit.php b/usr/local/www/firewall_shaper_queues_edit.php
index cc18f68..1404ac4 100755
--- a/usr/local/www/firewall_shaper_queues_edit.php
+++ b/usr/local/www/firewall_shaper_queues_edit.php
@@ -231,15 +231,7 @@ include("head.inc");
<tr>
<td width="22%" valign="top" class="vncell">Scheduler options</td>
<td width="78%" class="vtable">
- <?php
- $isdefaultdefined = 0;
- foreach($config['shaper'] as $queue) {
- if(isset($queue["defaultqueue"])) $isdefaultdefined = 1;
- }
- ?>
- <?php if ($isdefaultdefined == 0): ?>
- <input type="checkbox" id="defaultqueue" name="defaultqueue" <?php if($defaultqueue) echo " CHECKED";?> > Default queue<br>
- <? endif; ?>
+ <input type="checkbox" id="defaultqueue" name="defaultqueue" <?php if($defaultqueue) echo " CHECKED";?> > Default queue<br>
<?php if ($schedulertype == "cbq"): ?>
<input type="checkbox" id="borrow" name="borrow" <?php if($borrow) echo " CHECKED";?> > Borrow from other queues when available<br>
<? endif; ?>
OpenPOWER on IntegriCloud