aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2012-04-04 21:02:48 -0400
committerjim-p <jimp@pfsense.org>2012-04-04 21:02:48 -0400
commite9dd1cda71cc70f9c36041385fc6a6d93f1e1335 (patch)
tree19fc73cb8b4959a028e80a593066fc54f2bf4320
parent491fac85662f8c8dc1bae3751ce5942306ee828c (diff)
downloadpfsense-packages-e9dd1cda71cc70f9c36041385fc6a6d93f1e1335.tar.gz
pfsense-packages-e9dd1cda71cc70f9c36041385fc6a6d93f1e1335.tar.bz2
pfsense-packages-e9dd1cda71cc70f9c36041385fc6a6d93f1e1335.zip
Fix syntax error
-rwxr-xr-xconfig/openvpn-client-export/openvpn-client-export.inc4
-rw-r--r--pkg_config.8.xml2
-rw-r--r--pkg_config.8.xml.amd642
3 files changed, 4 insertions, 4 deletions
diff --git a/config/openvpn-client-export/openvpn-client-export.inc b/config/openvpn-client-export/openvpn-client-export.inc
index 22f31a21..eaa70f82 100755
--- a/config/openvpn-client-export/openvpn-client-export.inc
+++ b/config/openvpn-client-export/openvpn-client-export.inc
@@ -161,7 +161,7 @@ function openvpn_client_export_config($srvid, $usrid, $crtid, $useaddr, $usetoke
$server_host = get_interface_ip($interface);
}
} else if ($useaddr == "serverhostname" || empty($useaddr)) {
- $server_host = empty($config['system']['hostname']) "" : "{$config['system']['hostname']}.";
+ $server_host = empty($config['system']['hostname']) ? "" : "{$config['system']['hostname']}.";
$server_host .= "{{$config['system']['domain']}";
} else
$server_host = $useaddr;
@@ -601,7 +601,7 @@ function openvpn_client_export_sharedkey_config($srvid, $useaddr, $proxy, $zipco
$server_host = get_interface_ip($interface);
}
} else if ($useaddr == "serverhostname" || empty($useaddr)) {
- $server_host = empty($config['system']['hostname']) "" : "{$config['system']['hostname']}.";
+ $server_host = empty($config['system']['hostname']) ? "" : "{$config['system']['hostname']}.";
$server_host .= "{{$config['system']['domain']}";
} else
$server_host = $useaddr;
diff --git a/pkg_config.8.xml b/pkg_config.8.xml
index b996fc5f..7e23d5d5 100644
--- a/pkg_config.8.xml
+++ b/pkg_config.8.xml
@@ -1195,7 +1195,7 @@
</depends_on_package_pbi>
<build_port_path>/usr/ports/archivers/p7zip</build_port_path>
<build_port_path>/usr/ports/archivers/zip</build_port_path>
- <version>0.9.8</version>
+ <version>0.9.9</version>
<status>BETA</status>
<required_version>2.0</required_version>
<config_file>http://www.pfsense.com/packages/config/openvpn-client-export/openvpn-client-export.xml</config_file>
diff --git a/pkg_config.8.xml.amd64 b/pkg_config.8.xml.amd64
index b1d4a4a0..323189b5 100644
--- a/pkg_config.8.xml.amd64
+++ b/pkg_config.8.xml.amd64
@@ -1153,7 +1153,7 @@
<depends_on_package>zip-3.0.tbz</depends_on_package>
<build_port_path>/usr/ports/archivers/p7zip</build_port_path>
<build_port_path>/usr/ports/archivers/zip</build_port_path>
- <version>0.9.8</version>
+ <version>0.9.9</version>
<status>BETA</status>
<required_version>2.0</required_version>
<config_file>http://www.pfsense.com/packages/config/openvpn-client-export/openvpn-client-export.xml</config_file>