From 2d36fd3c18d7a01e86f5c009f85513ade6c38d4e Mon Sep 17 00:00:00 2001 From: jim-p Date: Thu, 9 Aug 2012 14:36:30 -0400 Subject: Fix inline client export --- config/openvpn-client-export/openvpn-client-export.inc | 2 ++ config/openvpn-client-export/openvpn-client-export.xml | 2 +- pkg_config.8.xml | 2 +- pkg_config.8.xml.amd64 | 2 +- 4 files changed, 5 insertions(+), 3 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 .= "{$nl}" . base64_decode($settings['tls']) . "{$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 @@ OpenVPN Client Export - 0.20 + 0.21 OpenVPN Client Export /usr/local/pkg/openvpn-client-export.inc diff --git a/pkg_config.8.xml b/pkg_config.8.xml index da8430ce..5794bbf3 100644 --- a/pkg_config.8.xml +++ b/pkg_config.8.xml @@ -1336,7 +1336,7 @@ zip-3.0-i386.pbi p7zip-9.20.1-i386.pbi /usr/ports/archivers/p7zip /usr/ports/archivers/zip - 0.20 + 0.21 BETA 2.0 http://www.pfsense.com/packages/config/openvpn-client-export/openvpn-client-export.xml diff --git a/pkg_config.8.xml.amd64 b/pkg_config.8.xml.amd64 index 344f6c7d..d9bc5e2d 100644 --- a/pkg_config.8.xml.amd64 +++ b/pkg_config.8.xml.amd64 @@ -1323,7 +1323,7 @@ p7zip-9.20.1-amd64.pbi zip-3.0-amd64.pbi /usr/ports/archivers/p7zip /usr/ports/archivers/zip - 0.20 + 0.21 BETA 2.0 http://www.pfsense.com/packages/config/openvpn-client-export/openvpn-client-export.xml -- cgit v1.2.3