summaryrefslogtreecommitdiffstats
path: root/usr/local/www/interfaces_wan.php
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-02-07 22:49:27 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-02-07 22:49:27 +0000
commit9dfbadd9984e39fc7bbdc0286274e0c3fba092db (patch)
treeb339f3077b3c445c01e685f094b9ab3b8b8d0e84 /usr/local/www/interfaces_wan.php
parent0df08a4108a49cacffd2c7165a42e8fbcc77201a (diff)
downloadpfsense-9dfbadd9984e39fc7bbdc0286274e0c3fba092db.zip
pfsense-9dfbadd9984e39fc7bbdc0286274e0c3fba092db.tar.gz
Correctly restore interface bandwidth.
Diffstat (limited to 'usr/local/www/interfaces_wan.php')
-rwxr-xr-xusr/local/www/interfaces_wan.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/local/www/interfaces_wan.php b/usr/local/www/interfaces_wan.php
index 2f8c9b3..1e8c21f 100755
--- a/usr/local/www/interfaces_wan.php
+++ b/usr/local/www/interfaces_wan.php
@@ -503,9 +503,9 @@ function type_change(enable_change,enable_change_pptp) {
</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']);?>">
+ <td class="vtable"> <input name="bandwidth" type="text" class="formfld" id="bandwidth" size="30" value="<?=htmlspecialchars($wancfg['bandwidth']);?>">
<select name="bandwidthtype">
- <option value="<?=htmlspecialchars($pconfig['bandwidthtype']);?>"><?=htmlspecialchars($pconfig['bandwidthtype']);?></option>
+ <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>
OpenPOWER on IntegriCloud