aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2012-08-09 16:12:01 -0400
committerjim-p <jimp@pfsense.org>2012-08-09 16:12:01 -0400
commitee4c522a084356c2831b9e9d24bff96193adaeef (patch)
tree7bc5769215e0d48fcafcacef7b9b36596a0f13d5 /config
parent2d36fd3c18d7a01e86f5c009f85513ade6c38d4e (diff)
downloadpfsense-packages-ee4c522a084356c2831b9e9d24bff96193adaeef.tar.gz
pfsense-packages-ee4c522a084356c2831b9e9d24bff96193adaeef.tar.bz2
pfsense-packages-ee4c522a084356c2831b9e9d24bff96193adaeef.zip
Enclose this in quotes, since it may contain spaces. Otherwise, openvpn will choke on it.
Diffstat (limited to 'config')
-rwxr-xr-xconfig/openvpn-client-export/openvpn-client-export.inc2
-rwxr-xr-xconfig/openvpn-client-export/openvpn-client-export.xml2
2 files changed, 2 insertions, 2 deletions
diff --git a/config/openvpn-client-export/openvpn-client-export.inc b/config/openvpn-client-export/openvpn-client-export.inc
index 271ea83a..9f06ed0c 100755
--- a/config/openvpn-client-export/openvpn-client-export.inc
+++ b/config/openvpn-client-export/openvpn-client-export.inc
@@ -199,7 +199,7 @@ function openvpn_client_export_config($srvid, $usrid, $crtid, $useaddr, $usetoke
$conf .= "resolv-retry infinite{$nl}";
$conf .= "remote {$server_host} {$server_port}{$nl}";
if (!empty($servercn))
- $conf .= "tls-remote {$servercn}{$nl}";
+ $conf .= "tls-remote \"{$servercn}\"{$nl}";
if (!empty($proxy)) {
if ($proto == "udp") {
diff --git a/config/openvpn-client-export/openvpn-client-export.xml b/config/openvpn-client-export/openvpn-client-export.xml
index 966348d4..254a95c7 100755
--- a/config/openvpn-client-export/openvpn-client-export.xml
+++ b/config/openvpn-client-export/openvpn-client-export.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8" ?>
<packagegui>
<name>OpenVPN Client Export</name>
- <version>0.21</version>
+ <version>0.22</version>
<title>OpenVPN Client Export</title>
<include_file>/usr/local/pkg/openvpn-client-export.inc</include_file>
<backup_file></backup_file>