summaryrefslogtreecommitdiffstats
path: root/usr/local/www/interfaces.php
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2006-01-23 05:34:39 +0000
committerScott Ullrich <sullrich@pfsense.org>2006-01-23 05:34:39 +0000
commitd5e5189772554041935454713c426aed5f9815fe (patch)
tree225c29b7d11a371c7a888f38c6c794e7d1973350 /usr/local/www/interfaces.php
parent7dd173e4c75a2b0826c28d599550ae4aaacf1d98 (diff)
downloadpfsense-d5e5189772554041935454713c426aed5f9815fe.zip
pfsense-d5e5189772554041935454713c426aed5f9815fe.tar.gz
Remove bandwidth items. We don't want to confuse the user with un-used items.
Diffstat (limited to 'usr/local/www/interfaces.php')
-rwxr-xr-xusr/local/www/interfaces.php28
1 files changed, 0 insertions, 28 deletions
diff --git a/usr/local/www/interfaces.php b/usr/local/www/interfaces.php
index 6995631..49057ff 100755
--- a/usr/local/www/interfaces.php
+++ b/usr/local/www/interfaces.php
@@ -169,9 +169,6 @@ if ($_POST) {
if ($_POST['mtu'] && (($_POST['mtu'] < 576) || ($_POST['mtu'] > 1500))) {
$input_errors[] = "The MTU must be between 576 and 1500 bytes.";
}
- if($_POST['bandwidth'] <> "" && !is_numeric($_POST['bandwidth'])) {
- $input_errors[] = "A valid bandwidth value is required 1-999999.";
- }
/* Wireless interface? */
if (isset($wancfg['wireless'])) {
@@ -254,14 +251,6 @@ if ($_POST) {
$config['bigpond']['minheartbeatinterval'] = $_POST['bigpond_minheartbeatinterval'];
}
- if($_POST['bandwidth'] <> "" and $_POST['bandwidthtype'] <> "") {
- $wancfg['bandwidth'] = $_POST['bandwidth'];
- $wancfg['bandwidthtype'] = $_POST['bandwidthtype'];
- } else {
- unset($wancfg['bandwidth']);
- unset($wancfg['bandwidthtype']);
- }
-
if($_POST['blockpriv'] == "yes")
$wancfg['blockpriv'] = true;
else
@@ -527,23 +516,6 @@ function type_change(enable_change,enable_change_pptp) {
<td colspan="2" valign="top" class="listtopic">Bandwidth Management (Traffic Shaping)</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($wancfg['bandwidth']);?>">
- <select name="bandwidthtype">
- <option value="<?=htmlspecialchars($wancfg['bandwidthtype']);?>"><?=htmlspecialchars($wancfg['bandwidthtype']);?></option>
- <option value="b">bit/s</option>
- <option value="Kb">Kilobit/s</option>
- <option value="Mb">Megabit/s</option>
- <option value="Gb">Gigabit/s</option>
- <option value=""></option>
- </select>
- <br> The bandwidth setting will define the speed of the interface for traffic shaping. Do not enter your "Internet" bandwidth here, only the physical speed!
- </td>
- </tr>
- <tr>
- <td colspan="2" valign="top" height="16"></td>
- </tr>
- <tr>
<td colspan="2" valign="top" class="listtopic">DHCP client configuration</td>
</tr>
<tr>
OpenPOWER on IntegriCloud