diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-01-21 20:56:53 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-01-21 20:56:53 +0000 |
commit | 222b529936c015c50274f46b5f0a83f75046cd59 (patch) | |
tree | b8293f462c366d84f12537239140d1aa3880698a /usr/local/www/interfaces_opt.php | |
parent | 1b8f6d97f8961569db5a97ba0805cda8123d5802 (diff) | |
download | pfsense-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_opt.php')
-rwxr-xr-x | usr/local/www/interfaces_opt.php | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/usr/local/www/interfaces_opt.php b/usr/local/www/interfaces_opt.php index 4b80cc4..64189d0 100755 --- a/usr/local/www/interfaces_opt.php +++ b/usr/local/www/interfaces_opt.php @@ -48,8 +48,6 @@ $pconfig['subnet'] = $optcfg['subnet']; $pconfig['bandwidth'] = $optcfg['bandwidth']; $pconfig['bandwidthtype'] = $optcfg['bandwidthtype']; -$pconfig['schedulertype'] = $optcfg['schedulertype']; - $pconfig['enable'] = isset($optcfg['enable']); @@ -130,7 +128,6 @@ if ($_POST) { $optcfg['enable'] = $_POST['enable'] ? true : false; $optcfg['bandwidth'] = $_POST['bandwidth']; $optcfg['bandwidthtype'] = $_POST['bandwidthtype']; - $optcfg['schedulertype'] = $_POST['schedulertype']; write_config(); @@ -191,9 +188,6 @@ function ipaddr_change() { <body link="#0000CC" vlink="#0000CC" alink="#0000CC"> <?php include("fbegin.inc"); ?> -<?php - $schedulertype = $pconfig['schedulertype']; -?> <p class="pgtitle">Interfaces: Optional <?=$index;?> (<?=htmlspecialchars($optcfg['descr']);?>)</p> <?php if ($input_errors) print_input_errors($input_errors); ?> <?php if ($savemsg) print_info_box($savemsg); ?> @@ -264,25 +258,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']);?>"> |