Revision 0d2156e5
Added by Jim Pingle over 13 years ago
etc/inc/upgrade_config.inc | ||
---|---|---|
1561 | 1561 |
$server['interface'] = 'any'; |
1562 | 1562 |
$server['tunnel_network'] = $server['addresspool']; |
1563 | 1563 |
unset($server['addresspool']); |
1564 |
if (isset($server['use_lzo'])) { |
|
1564 |
if (isset($server['use_lzo']) && ($server['use_lzo'] == "on")) {
|
|
1565 | 1565 |
$server['compression'] = "on"; |
1566 | 1566 |
unset($server['use_lzo']); |
1567 | 1567 |
} |
... | ... | |
1714 | 1714 |
unset($client['serverport']); |
1715 | 1715 |
$client['proxy_addr'] = $client['poxy_hostname']; |
1716 | 1716 |
unset($client['proxy_addr']); |
1717 |
if (isset($client['use_lzo'])) { |
|
1717 |
if (isset($client['use_lzo']) && ($client['use_lzo'] == "on")) {
|
|
1718 | 1718 |
$client['compression'] = "on"; |
1719 | 1719 |
unset($client['use_lzo']); |
1720 | 1720 |
} |
Also available in: Unified diff
Fix LZO setting for Upgraded OpenVPN (was turning compression on even if old config had it disabled.)