From 415bddea48d903a0fca70300233a41c42b57c5b6 Mon Sep 17 00:00:00 2001 From: jim-p Date: Thu, 9 Aug 2012 16:28:14 -0400 Subject: Split references here so they apply correctly --- usr/local/www/vpn_openvpn_server.php | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/usr/local/www/vpn_openvpn_server.php b/usr/local/www/vpn_openvpn_server.php index 6254d35..18cc8a3 100644 --- a/usr/local/www/vpn_openvpn_server.php +++ b/usr/local/www/vpn_openvpn_server.php @@ -467,7 +467,8 @@ function mode_change() { switch(value) { case "p2p_shared_key": document.getElementById("client_opts").style.display="none"; - document.getElementById("remote_opts").style.display=""; + document.getElementById("remote_optsv4").style.display=""; + document.getElementById("remote_optsv6").style.display=""; document.getElementById("gwredir_opts").style.display="none"; document.getElementById("local_optsv4").style.display="none"; document.getElementById("local_optsv6").style.display="none"; @@ -476,7 +477,8 @@ function mode_change() { break; case "p2p_tls": document.getElementById("client_opts").style.display="none"; - document.getElementById("remote_opts").style.display=""; + document.getElementById("remote_optsv4").style.display=""; + document.getElementById("remote_optsv6").style.display=""; document.getElementById("gwredir_opts").style.display=""; document.getElementById("local_optsv4").style.display=""; document.getElementById("local_optsv6").style.display=""; @@ -487,7 +489,8 @@ function mode_change() { case "server_tls_user": document.getElementById("authmodetr").style.display=""; document.getElementById("client_opts").style.display=""; - document.getElementById("remote_opts").style.display="none"; + document.getElementById("remote_optsv4").style.display="none"; + document.getElementById("remote_optsv6").style.display="none"; document.getElementById("gwredir_opts").style.display=""; document.getElementById("local_optsv4").style.display=""; document.getElementById("local_optsv6").style.display=""; @@ -497,7 +500,8 @@ function mode_change() { document.getElementById("authmodetr").style.display="none"; default: document.getElementById("client_opts").style.display=""; - document.getElementById("remote_opts").style.display="none"; + document.getElementById("remote_optsv4").style.display="none"; + document.getElementById("remote_optsv6").style.display="none"; document.getElementById("gwredir_opts").style.display=""; document.getElementById("local_optsv4").style.display=""; document.getElementById("local_optsv6").style.display=""; @@ -1210,7 +1214,7 @@ if ($savemsg) "This is generally set to your LAN network"); ?>. - + @@ -1224,7 +1228,7 @@ if ($savemsg) "you don't want a site-to-site VPN"); ?>. - + -- cgit v1.1