summaryrefslogtreecommitdiffstats
path: root/usr/local/www/interfaces_lan.php
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-01-21 20:56:53 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-01-21 20:56:53 +0000
commit222b529936c015c50274f46b5f0a83f75046cd59 (patch)
treeb8293f462c366d84f12537239140d1aa3880698a /usr/local/www/interfaces_lan.php
parent1b8f6d97f8961569db5a97ba0805cda8123d5802 (diff)
downloadpfsense-222b529936c015c50274f46b5f0a83f75046cd59.zip
pfsense-222b529936c015c50274f46b5f0a83f75046cd59.tar.gz
Move scheduler type to advanced menu. We'll default to PRIQ as a simple starting point for new users. NOTE: The scheduler type goes into affect for all interfaces.
Diffstat (limited to 'usr/local/www/interfaces_lan.php')
-rwxr-xr-xusr/local/www/interfaces_lan.php23
1 files changed, 1 insertions, 22 deletions
diff --git a/usr/local/www/interfaces_lan.php b/usr/local/www/interfaces_lan.php
index cb38e46..c169cc5 100755
--- a/usr/local/www/interfaces_lan.php
+++ b/usr/local/www/interfaces_lan.php
@@ -38,7 +38,6 @@ $pconfig['subnet'] = $config['interfaces']['lan']['subnet'];
$pconfig['bandwidth'] = $config['interfaces']['lan']['bandwidth'];
$pconfig['bandwidthtype'] = $config['interfaces']['lan']['bandwidthtype'];
-$pconfig['schedulertype'] = $config['interfaces']['lan']['schedulertype'];
/* Wireless interface? */
if (isset($optcfg['wireless'])) {
@@ -77,7 +76,6 @@ if ($_POST) {
$config['interfaces']['lan']['subnet'] = $_POST['subnet'];
$config['interfaces']['lan']['bandwidth'] = $_POST['bandwidth'];
$config['interfaces']['lan']['bandwidthtype'] = $_POST['bandwidthtype'];
- $config['interfaces']['lan']['schedulertype'] = $_POST['schedulertype'];
$dhcpd_was_enabled = 0;
if (isset($config['dhcpd']['enable'])) {
@@ -95,7 +93,7 @@ if ($_POST) {
"and enable it again prior to rebooting.";
}
}
-$schedulertype = $config['interfaces']['lan']['schedulertype'];
+
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
@@ -166,25 +164,6 @@ function ipaddr_change() {
<tr>
<td colspan="2" valign="top" class="vnsepcell">Bandwidth Management (Traffic Shaping)</td>
</tr>
- <tr>
- <td width="22%" valign="top" class="vncell"><b>Scheduler</b> </td>
- <td width="78%" class="vtable">
- <select id="schedulertype" name="schedulertype">
- <?php
- if($schedulertype == 'priq')
- echo "<option value=\"priq\">Priority based queueing</option>";
- if($schedulertype == 'cbq')
- echo "<option value=\"cbq\">Class based queueing</option>";
- if($schedulertype == 'hfsc')
- echo "<option value=\"hfsc\">Hierarchical Fair Service Curve queueing</option>";
- ?>
- <option value="priq">Priority based queueing</option>
- <option value="cbq">Class based queueing</option>
- <option value="hfsc">Hierarchical Fair Service Curve queueing</option>
- </select>
- <br> <span class="vexpl">Select which type of queueing you would like to use
- </span></td>
- </tr>
<tr>
<td valign="top" class="vncell">Interface Bandwidth Speed</td>
<td class="vtable"> <input name="bandwidth" type="text" class="formfld" id="bandwidth" size="30" value="<?=htmlspecialchars($pconfig['bandwidth']);?>">
OpenPOWER on IntegriCloud