diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-02-07 22:49:27 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-02-07 22:49:27 +0000 |
commit | 9dfbadd9984e39fc7bbdc0286274e0c3fba092db (patch) | |
tree | b339f3077b3c445c01e685f094b9ab3b8b8d0e84 /usr/local/www/interfaces_wan.php | |
parent | 0df08a4108a49cacffd2c7165a42e8fbcc77201a (diff) | |
download | pfsense-9dfbadd9984e39fc7bbdc0286274e0c3fba092db.zip pfsense-9dfbadd9984e39fc7bbdc0286274e0c3fba092db.tar.gz |
Correctly restore interface bandwidth.
Diffstat (limited to 'usr/local/www/interfaces_wan.php')
-rwxr-xr-x | usr/local/www/interfaces_wan.php | 4 |
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> |