aboutsummaryrefslogtreecommitdiffstats
path: root/config/openvpn-client-export/openvpn-client-export.inc
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2014-04-24 14:10:01 -0400
committerjim-p <jimp@pfsense.org>2014-04-24 14:10:01 -0400
commit79665700e2b26e544f574b339a4e60d047979919 (patch)
tree640319cccaa466838c7f2d7dcde4c8af0dae5d02 /config/openvpn-client-export/openvpn-client-export.inc
parent678c77b4d1e3a0aad2d1a87e97f1a782f3aeed5b (diff)
downloadpfsense-packages-79665700e2b26e544f574b339a4e60d047979919.tar.gz
pfsense-packages-79665700e2b26e544f574b339a4e60d047979919.tar.bz2
pfsense-packages-79665700e2b26e544f574b339a4e60d047979919.zip
Don't add a second tls-auth line when exporting for Viscosity.
Diffstat (limited to 'config/openvpn-client-export/openvpn-client-export.inc')
-rwxr-xr-xconfig/openvpn-client-export/openvpn-client-export.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/openvpn-client-export/openvpn-client-export.inc b/config/openvpn-client-export/openvpn-client-export.inc
index b77802b5..1a34c260 100755
--- a/config/openvpn-client-export/openvpn-client-export.inc
+++ b/config/openvpn-client-export/openvpn-client-export.inc
@@ -630,7 +630,7 @@ function viscosity_openvpn_client_config_exporter($srvid, $usrid, $crtid, $usead
file_put_contents("{$tempdir}/{$proxy['passwdfile']}", $pwdfle);
}
- $conf = openvpn_client_export_config($srvid, $usrid, $crtid, $useaddr, $verifyservercn, $randomlocalport, $usetoken, true, $proxy, "baseconf", $outpass, false, true, $openvpnmanager, $advancedoptions);
+ $conf = openvpn_client_export_config($srvid, $usrid, $crtid, $useaddr, $verifyservercn, $randomlocalport, $usetoken, true, $proxy, "baseconf", $outpass, true, true, $openvpnmanager, $advancedoptions);
if (!$conf)
return false;