diff options
author | gnhb <gnoahb@gmail.com> | 2010-05-26 21:07:00 +0700 |
---|---|---|
committer | gnhb <gnoahb@gmail.com> | 2010-05-26 21:07:00 +0700 |
commit | 0661b194d96764d8cb2f09eb8615c558b9a57bec (patch) | |
tree | 2e9ac43c8c05ab48b3d036dac6781fb9981b41ff /usr/local/www/interfaces.php | |
parent | d9e2c1714bc55f546702a8660f62e8cff2716aa4 (diff) | |
download | pfsense-0661b194d96764d8cb2f09eb8615c558b9a57bec.zip pfsense-0661b194d96764d8cb2f09eb8615c558b9a57bec.tar.gz |
Fix many things related to PPP connections.
Fixed tab array numbering in interfaces_* files. Enabled multilink over PPtP connections.
Fixed handling of bandwidth, mtu, mru settings. Removed unnecessary curly brackets from
single line if conditionals, and more . . .
Diffstat (limited to 'usr/local/www/interfaces.php')
-rwxr-xr-x | usr/local/www/interfaces.php | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/usr/local/www/interfaces.php b/usr/local/www/interfaces.php index 22055f8..a68112a 100755 --- a/usr/local/www/interfaces.php +++ b/usr/local/www/interfaces.php @@ -103,11 +103,6 @@ if (is_array($config['ppps']['ppp']) && count($config['ppps']['ppp'])) { if ($wancfg['ptpid'] == $a_ppps[$pppid]['ptpid']) { $pconfig['pppid'] = $pppid; - if (isset($a_ppps[$pppid]['defaultgw'])) - $pconfig['defaultgw'] = true; - else - $pconfig['defaultgw'] = false; - if ($a_ppps[$pppid]['type'] == "pppoe"){ $pconfig['pppoe_username'] = $a_ppps[$pppid]['username']; $pconfig['pppoe_password'] = base64_decode($a_ppps[$pppid]['password']); @@ -584,7 +579,6 @@ if ($_POST) { $wancfg['if'] = $_POST['type'] . $if_num; $wancfg['ptpid'] = $_POST['ptpid']; $wancfg['ipaddr'] = $_POST['type']; - $ppp['defaultgw'] = $_POST['defaultgw']; if($gateway_item) { $a_gateways[] = $gateway_item; } @@ -1769,7 +1763,6 @@ $types = array("none" => "None", "static" => "Static", "dhcp" => "DHCP", "pppoe" <input name="pppid" type="hidden" value="<?=$pppid;?>"> <input name="ppp_port" type="hidden" value="<?=$a_ppps[$pppid]['ports'];?>"> <input name="ptpid" type="hidden" value="<?=$a_ppps[$pppid]['ptpid'];?>"> - <input name="defaultgw" type="hidden" value="<?=$pconfig['defaultgw'];?>"> <?php else: ?> <input name="ptpid" type="hidden" value="<?=uniqid('', true);?>"> <?php endif; ?> |