diff options
author | sullrich <sullrich@pfsense.org> | 2009-11-27 16:55:40 -0500 |
---|---|---|
committer | sullrich <sullrich@pfsense.org> | 2009-11-27 16:55:40 -0500 |
commit | 35b91f770335000fd362147948629128776c325f (patch) | |
tree | 47c40cb6a679876d7fd9e44798fab372923c3d50 /etc/inc | |
parent | 1ee5d4b3a086e3ad429b128e31de32ae69ec3b2e (diff) | |
download | pfsense-35b91f770335000fd362147948629128776c325f.zip pfsense-35b91f770335000fd362147948629128776c325f.tar.gz |
Add newline after set radius server Resolves #184
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 |