From 8cd0a3fa3a338e6b211c920334ec16aa3bf425ae Mon Sep 17 00:00:00 2001 From: jim-p Date: Mon, 19 Apr 2010 13:54:43 -0400 Subject: 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 a48613a65d8d04dfec2aeefdb37440bdd399cdab. --- usr/local/www/vpn_openvpn_server.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr/local/www/vpn_openvpn_server.php b/usr/local/www/vpn_openvpn_server.php index f907c1f..fdf4af4 100644 --- a/usr/local/www/vpn_openvpn_server.php +++ b/usr/local/www/vpn_openvpn_server.php @@ -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"; } -- cgit v1.1