aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2009-12-29 19:53:22 -0500
committerScott Ullrich <sullrich@pfsense.org>2009-12-29 19:53:30 -0500
commitb942041662c8cdc0cc6b676b9f4402e2861e00ca (patch)
treec4076a0dbbdccb0ce2507a15f0e14153be3d8616
parent1550fc058b3cc49539a8ae4c7607ba5a15f46e0f (diff)
downloadpfsense-packages-b942041662c8cdc0cc6b676b9f4402e2861e00ca.tar.gz
pfsense-packages-b942041662c8cdc0cc6b676b9f4402e2861e00ca.tar.bz2
pfsense-packages-b942041662c8cdc0cc6b676b9f4402e2861e00ca.zip
Add / to zipfile location. Noticed-by: Pierre Ticket #260
-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 11ff8a80..1a4effa2 100755
--- a/config/openvpn-client-export/openvpn-client-export.inc
+++ b/config/openvpn-client-export/openvpn-client-export.inc
@@ -264,7 +264,7 @@ function viscosity_openvpn_client_config_exporter($srvid, $usrid, $crtid, $usead
$ovpndir = "/usr/local/share/openvpn/";
$uniq = uniqid();
$tempdir = $g['tmp_path'] . "/openvpn-export-" . $uniq;
- $zipfile = $g['tmp_path'] . "{$uniq}-Viscosity.visc.zip";
+ $zipfile = $g['tmp_path'] . "/{$uniq}-Viscosity.visc.zip";
// lookup server settings
$settings = $config['openvpn']['openvpn-server'][$srvid];