diff options
author | Matthew Grooms <mgrooms@pfsense.org> | 2008-09-03 04:13:02 +0000 |
---|---|---|
committer | Matthew Grooms <mgrooms@pfsense.org> | 2008-09-03 04:13:02 +0000 |
commit | 1cb0b40a2d2ae2b31c999015f04a5f1b530e8531 (patch) | |
tree | 4800185f521798576217750be40f6e053e452e89 /usr | |
parent | 93823b10147aa446945ed4b8ddef40cb56c96479 (diff) | |
download | pfsense-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 'usr')
-rw-r--r-- | usr/local/www/vpn_openvpn_client.php | 6 | ||||
-rw-r--r-- | usr/local/www/vpn_openvpn_server.php | 7 |
2 files changed, 7 insertions, 6 deletions
diff --git a/usr/local/www/vpn_openvpn_client.php b/usr/local/www/vpn_openvpn_client.php index db38295..c3fbcb5 100644 --- a/usr/local/www/vpn_openvpn_client.php +++ b/usr/local/www/vpn_openvpn_client.php @@ -97,7 +97,7 @@ if($_GET['act']=="edit"){ $pconfig['tunnel_network'] = $a_client[$id]['tunnel_network']; $pconfig['remote_network'] = $a_client[$id]['remote_network']; $pconfig['compression'] = $a_client[$id]['compression']; - $pconfig['settos'] = $a_client[$id]['settos']; + $pconfig['passtos'] = $a_client[$id]['passtos']; } } @@ -526,8 +526,8 @@ function method_change() { <table border="0" cellpadding="2" cellspacing="0"> <tr> <td> - <?php set_checked($pconfig['settos'],$chk); ?> - <input name="settos" type="checkbox" value="yes" <?=$chk;?>> + <?php set_checked($pconfig['passtos'],$chk); ?> + <input name="passtos" type="checkbox" value="yes" <?=$chk;?>> </td> <td> <span class="vexpl"> diff --git a/usr/local/www/vpn_openvpn_server.php b/usr/local/www/vpn_openvpn_server.php index dab3706..41ec000 100644 --- a/usr/local/www/vpn_openvpn_server.php +++ b/usr/local/www/vpn_openvpn_server.php @@ -96,7 +96,7 @@ if($_GET['act']=="edit"){ $pconfig['local_network'] = $a_server[$id]['local_network']; $pconfig['maxclients'] = $a_server[$id]['maxclients']; $pconfig['compression'] = $a_server[$id]['compression']; - $pconfig['settos'] = $a_server[$id]['settos']; + $pconfig['passtos'] = $a_server[$id]['passtos']; $pconfig['client2client'] = $a_server[$id]['client2client']; $pconfig['pool_enable'] = $a_server[$id]['pool_enable']; @@ -248,6 +248,7 @@ if ($_POST) { $server['local_network'] = $pconfig['local_network']; $server['maxclients'] = $pconfig['maxclients']; $server['compression'] = $pconfig['compression']; + $server['passtos'] = $pconfig['passtos']; $server['client2client'] = $pconfig['client2client']; $server['pool_enable'] = $pconfig['pool_enable']; @@ -647,8 +648,8 @@ function netbios_change() { <table border="0" cellpadding="2" cellspacing="0"> <tr> <td> - <?php set_checked($pconfig['settos'],$chk); ?> - <input name="settos" type="checkbox" value="yes" <?=$chk;?>> + <?php set_checked($pconfig['passtos'],$chk); ?> + <input name="passtos" type="checkbox" value="yes" <?=$chk;?>> </td> <td> <span class="vexpl"> |