summaryrefslogtreecommitdiffstats
path: root/usr/local/www/interfaces_ppps_edit.php
diff options
context:
space:
mode:
authorgnhb <gnoahb@gmail.com>2010-08-13 21:32:06 +0700
committergnhb <gnoahb@gmail.com>2010-08-13 21:32:06 +0700
commit6a30f701e27f1651917639455df59dbbbead65af (patch)
tree833d301e0773577194606fbe05ab0add65709e13 /usr/local/www/interfaces_ppps_edit.php
parent5f25bfea6de50b8b0ebb03e41eb343d61940303b (diff)
downloadpfsense-6a30f701e27f1651917639455df59dbbbead65af.zip
pfsense-6a30f701e27f1651917639455df59dbbbead65af.tar.gz
Expose MRRU settings in the GUI for PPPoE (MLPPP).
Diffstat (limited to 'usr/local/www/interfaces_ppps_edit.php')
-rw-r--r--usr/local/www/interfaces_ppps_edit.php12
1 files changed, 10 insertions, 2 deletions
diff --git a/usr/local/www/interfaces_ppps_edit.php b/usr/local/www/interfaces_ppps_edit.php
index 54c5cb5..9800c93 100644
--- a/usr/local/www/interfaces_ppps_edit.php
+++ b/usr/local/www/interfaces_ppps_edit.php
@@ -76,7 +76,7 @@ if (isset($id) && $a_ppps[$id]) {
$pconfig['bandwidth'] = explode(",",$a_ppps[$id]['bandwidth']);
$pconfig['mtu'] = explode(",",$a_ppps[$id]['mtu']);
$pconfig['mru'] = explode(",",$a_ppps[$id]['mru']);
- $pconfig['mrru'] = $a_ppps[$id]['mrru'];
+ $pconfig['mrru'] = explode(",",$a_ppps[$id]['mrru']);
if (isset($a_ppps[$id]['shortseq']))
$pconfig['shortseq'] = true;
if (isset($a_ppps[$id]['acfcomp']))
@@ -340,6 +340,7 @@ if ($_POST) {
$ppp['bandwidth'] = implode(',', $port_data['bandwidth']);
$ppp['mtu'] = implode(',', $port_data['mtu']);
$ppp['mru'] = implode(',', $port_data['mru']);
+ $ppp['mrru'] = implode(',', $port_data['mrru']);
/* handle_pppoe_reset is called here because if user changes Link Type from PPPoE to another type we
must be able to clear the config data in the <cron> section of config.xml if it exists
@@ -758,7 +759,14 @@ $types = array("select" => gettext("Select"), "ppp" => "PPP", "pppoe" => "PPPoE"
<td width="22%" id="mrulabel<?=$i;?>" valign="top" class="vncell"> <?=gettext("MRU"); ?></td>
<td width="78%" class="vtable">
<input name="mru[]" id="mru<?=$i;?>" type="text" class="formfld unknown" size="6" value="<?=htmlspecialchars($pconfig['mru'][$i]);?>">
- <br> <span class="vexpl"><?=gettext("MRU will default to 1492.");?></span>
+ <br> <span class="vexpl"><?=gettext("MRU will be auto-negotiated by default.");?></span>
+ </td>
+ </tr>
+ <tr>
+ <td width="22%" id="mrrulabel<?=$i;?>" valign="top" class="vncell"> <?=gettext("MRRU"); ?></td>
+ <td width="78%" class="vtable">
+ <input name="mrru[]" id="mrru<?=$i;?>" type="text" class="formfld unknown" size="6" value="<?=htmlspecialchars($pconfig['mrru'][$i]);?>">
+ <br> <span class="vexpl"><?=gettext("MRRU will be auto-negotiated by default.");?></span>
</td>
</tr>
</table
OpenPOWER on IntegriCloud