diff options
author | jim-p <jimp@pfsense.org> | 2010-06-30 11:04:19 -0400 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2010-06-30 11:04:19 -0400 |
commit | 107794cca9a2393a54fb17b84f773b7562a4d810 (patch) | |
tree | 2e4e9a9406377f0b3abd93c59801e90f51ab37c2 /usr | |
parent | 29293dce60bdf28fa232b33625505436c5df33da (diff) | |
download | pfsense-107794cca9a2393a54fb17b84f773b7562a4d810.zip pfsense-107794cca9a2393a54fb17b84f773b7562a4d810.tar.gz |
Hide the inter-client comm. option for peer-to-peer openvpn connections.
Diffstat (limited to 'usr')
-rw-r--r-- | usr/local/www/vpn_openvpn_server.php | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/usr/local/www/vpn_openvpn_server.php b/usr/local/www/vpn_openvpn_server.php index b213c6f..e39e93a 100644 --- a/usr/local/www/vpn_openvpn_server.php +++ b/usr/local/www/vpn_openvpn_server.php @@ -389,12 +389,14 @@ function mode_change() { document.getElementById("remote_opts").style.display=""; document.getElementById("local_opts").style.display="none"; document.getElementById("authmodetr").style.display="none"; + document.getElementById("inter_client_communication").style.display="none"; break; case "p2p_tls": document.getElementById("client_opts").style.display="none"; document.getElementById("remote_opts").style.display=""; document.getElementById("local_opts").style.display=""; document.getElementById("authmodetr").style.display="none"; + document.getElementById("inter_client_communication").style.display="none"; break; case "server_user": case "server_tls_user": @@ -402,6 +404,7 @@ function mode_change() { document.getElementById("client_opts").style.display=""; document.getElementById("remote_opts").style.display="none"; document.getElementById("local_opts").style.display=""; + document.getElementById("inter_client_communication").style.display=""; break; case "server_tls": document.getElementById("authmodetr").style.display="none"; @@ -409,6 +412,7 @@ function mode_change() { document.getElementById("client_opts").style.display=""; document.getElementById("remote_opts").style.display="none"; document.getElementById("local_opts").style.display=""; + document.getElementById("inter_client_communication").style.display=""; break; } } @@ -892,7 +896,7 @@ function netbios_change() { </table> </td> </tr> - <tr> + <tr id="inter_client_communication"> <td width="22%" valign="top" class="vncell">Inter-client communication</td> <td width="78%" class="vtable"> <table border="0" cellpadding="2" cellspacing="0"> |