summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2010-06-30 11:04:19 -0400
committerjim-p <jimp@pfsense.org>2010-06-30 11:04:19 -0400
commit107794cca9a2393a54fb17b84f773b7562a4d810 (patch)
tree2e4e9a9406377f0b3abd93c59801e90f51ab37c2 /usr
parent29293dce60bdf28fa232b33625505436c5df33da (diff)
downloadpfsense-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.php6
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">
OpenPOWER on IntegriCloud