aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2012-08-09 14:36:30 -0400
committerjim-p <jimp@pfsense.org>2012-08-09 14:36:30 -0400
commit2d36fd3c18d7a01e86f5c009f85513ade6c38d4e (patch)
treed8ff605fa1577a0e954603372d5ea804a376e1af /config
parentd28d34d331facac570a505cef5eed927530155d9 (diff)
downloadpfsense-packages-2d36fd3c18d7a01e86f5c009f85513ade6c38d4e.tar.gz
pfsense-packages-2d36fd3c18d7a01e86f5c009f85513ade6c38d4e.tar.bz2
pfsense-packages-2d36fd3c18d7a01e86f5c009f85513ade6c38d4e.zip
Fix inline client export
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, 3 insertions, 1 deletions
diff --git a/config/openvpn-client-export/openvpn-client-export.inc b/config/openvpn-client-export/openvpn-client-export.inc
index 9f05e10f..271ea83a 100755
--- a/config/openvpn-client-export/openvpn-client-export.inc
+++ b/config/openvpn-client-export/openvpn-client-export.inc
@@ -340,6 +340,8 @@ function openvpn_client_export_config($srvid, $usrid, $crtid, $useaddr, $usetoke
if ($settings['tls']) {
$conf .= "<tls-auth>{$nl}" . base64_decode($settings['tls']) . "</tls-auth>{$nl} key-direction 1{$nl}";
}
+ return $conf;
+ break;
case "yealink_t28":
case "yealink_t38g":
// create template directory
diff --git a/config/openvpn-client-export/openvpn-client-export.xml b/config/openvpn-client-export/openvpn-client-export.xml
index 605bc190..966348d4 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.20</version>
+ <version>0.21</version>
<title>OpenVPN Client Export</title>
<include_file>/usr/local/pkg/openvpn-client-export.inc</include_file>
<backup_file></backup_file>