Revert "Fix finding next OpenVPN port. Protocol should be lowercase." - This was wrong in the wizard, apparently, and not the main page.

This reverts commit a48613a65d.
This commit is contained in:
jim-p 2010-04-19 13:54:43 -04:00
parent a48613a65d
commit 8cd0a3fa3a

View File

@ -71,7 +71,7 @@ if($_GET['act']=="new"){
$pconfig['autotls_enable'] = "yes";
$pconfig['dh_length'] = 1024;
$pconfig['interface'] = "wan";
$pconfig['local_port'] = openvpn_port_next('udp');
$pconfig['local_port'] = openvpn_port_next('UDP');
$pconfig['pool_enable'] = "yes";
}