summaryrefslogtreecommitdiffstats
path: root/etc/inc/openvpn.inc
diff options
context:
space:
mode:
authorMatthew Grooms <mgrooms@pfsense.org>2008-09-03 04:13:02 +0000
committerMatthew Grooms <mgrooms@pfsense.org>2008-09-03 04:13:02 +0000
commit1cb0b40a2d2ae2b31c999015f04a5f1b530e8531 (patch)
tree4800185f521798576217750be40f6e053e452e89 /etc/inc/openvpn.inc
parent93823b10147aa446945ed4b8ddef40cb56c96479 (diff)
downloadpfsense-1cb0b40a2d2ae2b31c999015f04a5f1b530e8531.zip
pfsense-1cb0b40a2d2ae2b31c999015f04a5f1b530e8531.tar.gz
Correct problems with OpenVPN that prevented the lzo compression and pass
tos options from being set correctly in configuration files.
Diffstat (limited to 'etc/inc/openvpn.inc')
-rw-r--r--etc/inc/openvpn.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/openvpn.inc b/etc/inc/openvpn.inc
index 151b1ec..12da61b 100644
--- a/etc/inc/openvpn.inc
+++ b/etc/inc/openvpn.inc
@@ -400,7 +400,7 @@ EOD;
openvpn_add_keyfile($settings['tls'], $conf, $mode_id, "tls-auth");
}
- if ($settings['compress'])
+ if ($settings['compression'])
$conf .= "comp-lzo\n";
if ($settings['passtos'])
OpenPOWER on IntegriCloud