diff options
author | Ermal <eri@pfsense.org> | 2011-08-30 15:53:10 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2011-08-30 16:11:40 +0000 |
commit | b09434095436ee136ada358041aafc0552f75672 (patch) | |
tree | ac460a76955d65b5cb523b26312a0d6acf2b8357 /usr | |
parent | 28ba77e495c7f43b7e4a69feeeeacb548d3b47f3 (diff) | |
download | pfsense-b09434095436ee136ada358041aafc0552f75672.zip pfsense-b09434095436ee136ada358041aafc0552f75672.tar.gz |
Fix several issues in pppoe code and remove duplicated code.
Diffstat (limited to 'usr')
-rwxr-xr-x | usr/local/www/vpn_pppoe_edit.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/usr/local/www/vpn_pppoe_edit.php b/usr/local/www/vpn_pppoe_edit.php index ea6f5f0..fb6508a 100755 --- a/usr/local/www/vpn_pppoe_edit.php +++ b/usr/local/www/vpn_pppoe_edit.php @@ -95,7 +95,6 @@ if (isset($id) && $a_pppoes[$id]) { $pconfig['radiusserver2acctport'] = $pppoecfg['radius']['server2']['acctport']; $pconfig['radiussecret2'] = $pppoecfg['radius']['server2']['secret2']; } - $pconfig['radiusissueips'] = isset($pppoecfg['radius']['radiusissueips']); $pconfig['radius_nasip'] = $pppoecfg['radius']['nasip']; $pconfig['radius_acct_update'] = $pppoecfg['radius']['acct_update']; } @@ -170,7 +169,7 @@ if ($_POST) { $pppoecfg['radius']['server']['port'] = $_POST['radiusserverport']; $pppoecfg['radius']['server']['acctport'] = $_POST['radiusserveracctport']; } - if ($_POST['radiusserver']) { + if ($_POST['radiusserver2']) { $pppoecfg['radius']['server2'] = array(); $pppoecfg['radius']['server2']['ip'] = $_POST['radiusserver2']; |