summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorjim-p <jim@pingle.org>2010-04-28 21:54:00 -0400
committerjim-p <jim@pingle.org>2010-04-28 21:54:00 -0400
commit8b666514fc616b34b8128dc69eac0998f577301d (patch)
treef3f632f9603cdf64a6895f0ab0d6c2687867601c /etc
parentdfa11031fc7323b5e567052e38cbd53e5981614a (diff)
downloadpfsense-8b666514fc616b34b8128dc69eac0998f577301d.zip
pfsense-8b666514fc616b34b8128dc69eac0998f577301d.tar.gz
Fix OpenVPN upgrade code for lzo compression. Resolves #280, mentioned also in Ticket #482.
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/upgrade_config.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/inc/upgrade_config.inc b/etc/inc/upgrade_config.inc
index 540cf3b..6282fa5 100644
--- a/etc/inc/upgrade_config.inc
+++ b/etc/inc/upgrade_config.inc
@@ -1343,7 +1343,7 @@ function upgrade_051_to_052() {
$server['tunnel_network'] = $server['addresspool'];
unset($server['addresspool']);
if (isset($server['use_lzo'])) {
- $server['compress'] = true;
+ $server['compression'] = "on";
unset($server['use_lzo']);
}
if ($server['nopool'])
@@ -1439,7 +1439,7 @@ function upgrade_051_to_052() {
$client['proxy_addr'] = $client['poxy_hostname'];
unset($client['proxy_addr']);
if (isset($client['use_lzo'])) {
- $client['compress'] = true;
+ $client['compression'] = "on";
unset($client['use_lzo']);
}
$client['resolve_retry'] = $client['infiniteresolvretry'];
OpenPOWER on IntegriCloud