diff options
author | Ermal <eri@pfsense.org> | 2011-08-30 15:53:10 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2011-08-30 16:11:22 +0000 |
commit | fcf07bb76fb58556bee76f4e3898ee769b2785d5 (patch) | |
tree | 16046638310dc2c84d4e080a23dbd35f8215ab32 /usr/local | |
parent | 1f2f60240c8829c64ad786eb33ecc6ba0cd1d5a2 (diff) | |
download | pfsense-fcf07bb76fb58556bee76f4e3898ee769b2785d5.zip pfsense-fcf07bb76fb58556bee76f4e3898ee769b2785d5.tar.gz |
Fix several issues in pppoe code and remove duplicated code.
Diffstat (limited to 'usr/local')
-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 6c94797..92d617f 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']; |