summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
Diffstat (limited to 'usr')
-rw-r--r--usr/local/www/vpn_openvpn_server.php11
1 files changed, 7 insertions, 4 deletions
diff --git a/usr/local/www/vpn_openvpn_server.php b/usr/local/www/vpn_openvpn_server.php
index 6f20997..02d530d 100644
--- a/usr/local/www/vpn_openvpn_server.php
+++ b/usr/local/www/vpn_openvpn_server.php
@@ -549,10 +549,13 @@ function autotls_change() {
function gwredir_change() {
- if (document.iform.gwredir.checked)
- document.getElementById("local_opts").style.display="none";
- else
- document.getElementById("local_opts").style.display="";
+ if (document.iform.gwredir.checked) {
+ document.getElementById("local_optsv4").style.display="none";
+ document.getElementById("local_optsv6").style.display="none";
+ } else {
+ document.getElementById("local_optsv4").style.display="";
+ document.getElementById("local_optsv6").style.display="";
+ }
}
function dns_domain_change() {
OpenPOWER on IntegriCloud