Backing out changes from ticket #1417, it was not a valid openvpn config that the user was trying to make.

This commit is contained in:
jim-p 2011-04-19 19:59:29 -04:00
parent 673ee7b1e8
commit bd24573bb0

View File

@ -383,7 +383,6 @@ function openvpn_reconfigure($mode, $settings) {
// configure p2p/server modes
switch($settings['mode']) {
case 'p2p_tls':
$conf .= "client-config-dir {$g['varetc_path']}/openvpn-csc\n";
case 'p2p_shared_key':
$baselong = ip2long32($ip) & ip2long($mask);
$ip1 = long2ip32($baselong + 1);