summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2011-08-30 15:53:10 +0000
committerErmal <eri@pfsense.org>2011-08-30 16:11:40 +0000
commitb09434095436ee136ada358041aafc0552f75672 (patch)
treeac460a76955d65b5cb523b26312a0d6acf2b8357 /etc
parent28ba77e495c7f43b7e4a69feeeeacb548d3b47f3 (diff)
downloadpfsense-b09434095436ee136ada358041aafc0552f75672.zip
pfsense-b09434095436ee136ada358041aafc0552f75672.tar.gz
Fix several issues in pppoe code and remove duplicated code.
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/vpn.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/inc/vpn.inc b/etc/inc/vpn.inc
index 99eecab..1707a31 100644
--- a/etc/inc/vpn.inc
+++ b/etc/inc/vpn.inc
@@ -1314,7 +1314,7 @@ function vpn_pppoe_configure(&$pppoecfg) {
$clientip = long2ip32(ip2long($pppoecfg['remoteip']) + $i);
- if (isset ($pppoecfg['radius']['radiusissueips']) && isset ($pppoecfg['radius']['server']['enable'])) {
+ if (isset($pppoecfg['radius']['radiusissueips']) && isset($pppoecfg['radius']['server']['enable'])) {
$isssue_ip_type = "set ipcp ranges {$pppoecfg['localip']}/32 0.0.0.0/0";
} else {
$isssue_ip_type = "set ipcp ranges {$pppoecfg['localip']}/32 {$clientip}/32";
@@ -1382,7 +1382,7 @@ EOD;
if (isset($pppoecfg['radius']['server']['acctport']))
$radiusacctport = $pppoecfg['radius']['server']['acctport'];
$mpdconf .=<<<EOD
- set radius server {$pppoecfg['radius']['server']['ip']} "{$pppoecfg['radius']['server']['secret']} {$radiusport} {$radiusacctport}"
+ set radius server {$pppoecfg['radius']['server']['ip']} "{$pppoecfg['radius']['server']['secret']}" {$radiusport} {$radiusacctport}
set radius retries 3
set radius timeout 10
set auth enable radius-auth
OpenPOWER on IntegriCloud