summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2010-11-29 08:50:38 -0500
committerjim-p <jimp@pfsense.org>2010-11-29 08:50:38 -0500
commit1bab0df1b7fd06ecb2818f69187214a70de238b9 (patch)
treeda77ea52111dc775340c9c8d0fdfe2aef9d57e2b /etc
parentc45d1cfe714606092a8e9bd9f51e3f724233ea05 (diff)
downloadpfsense-1bab0df1b7fd06ecb2818f69187214a70de238b9.zip
pfsense-1bab0df1b7fd06ecb2818f69187214a70de238b9.tar.gz
Add suggested fix from ticket #1037
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/openvpn.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/openvpn.inc b/etc/inc/openvpn.inc
index 9c85172..bd46227 100644
--- a/etc/inc/openvpn.inc
+++ b/etc/inc/openvpn.inc
@@ -395,7 +395,7 @@ function openvpn_reconfigure($mode,& $settings) {
$sed .= ");\\\n";
if ($settings['strictusercn'])
$sed .= "\$strictusercn = true;";
- $sed .= " \$modeid = \"{$mode_id}\"";
+ $sed .= " \$modeid = \"{$mode_id}\";";
mwexec("/bin/cat /etc/inc/openvpn.auth-user.php | /usr/bin/sed 's/\/\/<template>/{$sed}/g' > {$g['varetc_path']}/openvpn/{$mode_id}.php");
mwexec("/bin/chmod a+x {$g['varetc_path']}/openvpn/{$mode_id}.php");
$conf .= "auth-user-pass-verify {$g['varetc_path']}/openvpn/{$mode_id}.php via-env\n";
OpenPOWER on IntegriCloud