Fix finding next OpenVPN port. Protocol should be lowercase.

This commit is contained in:
jim-p 2010-04-19 13:43:14 -04:00
parent 9460ee11b2
commit a48613a65d

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";
}