diff options
author | pierrepomes <pierre.pomes@interface-tech.com> | 2009-11-27 16:59:41 -0500 |
---|---|---|
committer | pierrepomes <pierre.pomes@interface-tech.com> | 2009-11-27 16:59:41 -0500 |
commit | a7dbeea9a672739a823c9bc819e8142753641c8b (patch) | |
tree | 8c67f2010fed5b9c692a5c7a3596238a2ce7c3c0 /etc/inc | |
parent | 46c5b763ef26269b50d303fc62793c58a42eefb1 (diff) | |
parent | 35b91f770335000fd362147948629128776c325f (diff) | |
download | pfsense-a7dbeea9a672739a823c9bc819e8142753641c8b.zip pfsense-a7dbeea9a672739a823c9bc819e8142753641c8b.tar.gz |
Merge branch 'master' of git@rcs.pfsense.org:pfsense/mainline
Diffstat (limited to 'etc/inc')
-rw-r--r-- | etc/inc/vpn.inc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/etc/inc/vpn.inc b/etc/inc/vpn.inc index d987a42..4ba4808 100644 --- a/etc/inc/vpn.inc +++ b/etc/inc/vpn.inc @@ -1057,12 +1057,14 @@ EOD; $acctport = $authport + 1; $mpdconf .=<<<EOD set radius server {$pptpdcfg['radius']['server']['ip']} "{$pptpdcfg['radius']['server']['secret']}" {$authport} {$acctport} + EOD; if (isset ($pptpdcfg['radius']['server2']['enable'])) { $authport = (isset($pptpdcfg['radius']['server2']['port']) && strlen($pptpdcfg['radius']['server2']['port']) > 1) ? $pptpdcfg['radius']['server2']['port'] : 1812; $acctport = $authport + 1; $mpdconf .=<<<EOD set radius server {$pptpdcfg['radius']['server2']['ip']} "{$pptpdcfg['radius']['server2']['secret']}" {$authport} {$acctport} + EOD; } $mpdconf .=<<<EOD |