From 1cb0b40a2d2ae2b31c999015f04a5f1b530e8531 Mon Sep 17 00:00:00 2001 From: Matthew Grooms Date: Wed, 3 Sep 2008 04:13:02 +0000 Subject: Correct problems with OpenVPN that prevented the lzo compression and pass tos options from being set correctly in configuration files. --- etc/inc/openvpn.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'etc/inc/openvpn.inc') 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']) -- cgit v1.1